René's URL Explorer Experiment


Title: bpo-30969: Fix docs about the comparison in absence of __contains__ by ztane · Pull Request #2761 · python/cpython · GitHub

Open Graph Title: bpo-30969: Fix docs about the comparison in absence of __contains__ by ztane · Pull Request #2761 · python/cpython

X Title: bpo-30969: Fix docs about the comparison in absence of __contains__ by ztane · Pull Request #2761 · python/cpython

Description: The documentation doesn't match the implementation, which clearly does x is y or x == y to check if x is the element y from a container. Both the __iter__ and the index-iteration method test the el...

Open Graph Description: The documentation doesn't match the implementation, which clearly does x is y or x == y to check if x is the element y from a container. Both the __iter__ and the index-iteration method test th...

X Description: The documentation doesn't match the implementation, which clearly does x is y or x == y to check if x is the element y from a container. Both the __iter__ and the index-iteration method tes...

Opengraph URL: https://github.com/python/cpython/pull/2761

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:47936418-d1cc-640a-4c46-e0c589302927
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9766:115F21:BC7C6D:FC1E09:696B86B6
html-safe-noncec637101cd7bde5706d496568c253799b30bcdcf543ca12a3af95cc1046928efc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzY2OjExNUYyMTpCQzdDNkQ6RkMxRTA5OjY5NkI4NkI2IiwidmlzaXRvcl9pZCI6Ijg0NTA1OTA5NjgzMjk3NjY1ODIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace332ea33c4d459a9411f3fc117c7cd8ae62138f13d9461a61fac4d1c8bf37e84
hovercard-subject-tagpull_request:131303361
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/2761/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/fcf5ed06a1b189742000121aa566f3db0eb16ccba7e4a55b2f85fe137574e779/python/cpython/pull/2761
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fcf5ed06a1b189742000121aa566f3db0eb16ccba7e4a55b2f85fe137574e779/python/cpython/pull/2761
og:image:altThe documentation doesn't match the implementation, which clearly does x is y or x == y to check if x is the element y from a container. Both the __iter__ and the index-iteration method test th...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameztane
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/2761#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F2761
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F2761
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/2761
Reloadhttps://github.com/python/cpython/pull/2761
Reloadhttps://github.com/python/cpython/pull/2761
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/2761
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/2761
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python/cpython/pull/2761#issue-comment-box
csabellahttps://github.com/csabella
python:masterhttps://github.com/python/cpython/tree/master
ztane:patch-1https://github.com/ztane/cpython/tree/patch-1
bpo-30969: Fix docs about the comparison in absence of __contains__ https://github.com/python/cpython/pull/2761#top
csabellahttps://github.com/csabella
python:masterhttps://github.com/python/cpython/tree/master
ztane:patch-1https://github.com/ztane/cpython/tree/patch-1
Conversation 5 https://github.com/python/cpython/pull/2761
Commits 4 https://github.com/python/cpython/pull/2761/commits
Checks 0 https://github.com/python/cpython/pull/2761/checks
Files changed https://github.com/python/cpython/pull/2761/files
Please reload this pagehttps://github.com/python/cpython/pull/2761
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/ztane
ztanehttps://github.com/ztane
Jul 19, 2017https://github.com/python/cpython/pull/2761#issue-244015918
Please reload this pagehttps://github.com/python/cpython/pull/2761
Please reload this pagehttps://github.com/python/cpython/pull/2761
https://github.com/ztane
Fix the eq check that is used in absence of __contains__https://github.com/python/cpython/pull/2761/commits/6d411c6ce4286b21948e1d7df182f510cd9857b2
6d411c6https://github.com/python/cpython/pull/2761/commits/6d411c6ce4286b21948e1d7df182f510cd9857b2
https://github.com/mention-bot
mention-bothttps://github.com/mention-bot
Jul 19, 2017https://github.com/python/cpython/pull/2761#issuecomment-316362770
@ztanehttps://github.com/ztane
@birkenfeldhttps://github.com/birkenfeld
@vadmiumhttps://github.com/vadmium
@benjaminphttps://github.com/benjaminp
Please reload this pagehttps://github.com/python/cpython/pull/2761
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Jul 19, 2017https://github.com/python/cpython/pull/2761#event-1170088959
ztanehttps://github.com/ztane
July 19, 2017 15:01https://github.com/python/cpython/pull/2761#commits-pushed-29abde0
https://github.com/ztane
lowercase the true, as it need not be True.https://github.com/python/cpython/pull/2761/commits/29abde02d45c8ac4c3e9e4645e84ccdeed8a601a
29abde0https://github.com/python/cpython/pull/2761/commits/29abde02d45c8ac4c3e9e4645e84ccdeed8a601a
https://github.com/ztane
Add the missing space here.https://github.com/python/cpython/pull/2761/commits/511406d75f24aa35dba8a1feb3c846a0d9b113ff
511406dhttps://github.com/python/cpython/pull/2761/commits/511406d75f24aa35dba8a1feb3c846a0d9b113ff
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Feb 2, 2018https://github.com/python/cpython/pull/2761#event-1455984537
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
docs https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Adocs
Dec 8, 2018https://github.com/python/cpython/pull/2761#event-2013929685
https://github.com/rhettinger
rhettingerhttps://github.com/rhettinger
Dec 24, 2018 https://github.com/python/cpython/pull/2761#pullrequestreview-187652418
View reviewed changes https://github.com/python/cpython/pull/2761/files/511406d75f24aa35dba8a1feb3c846a0d9b113ff
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Dec 24, 2018https://github.com/python/cpython/pull/2761#event-2042800217
https://github.com/rhettinger
rhettingerhttps://github.com/rhettinger
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Dec 24, 2018https://github.com/python/cpython/pull/2761#event-2042800677
https://github.com/rhettinger
rhettingerhttps://github.com/rhettinger
Dec 24, 2018https://github.com/python/cpython/pull/2761#event-2042854208
https://github.com/rhettinger
rhettingerhttps://github.com/rhettinger
Dec 24, 2018https://github.com/python/cpython/pull/2761#event-2042854255
https://github.com/rhettinger
rhettingerhttps://github.com/rhettinger
Dec 24, 2018https://github.com/python/cpython/pull/2761#event-2042858112
https://github.com/rhettinger
rhettingerhttps://github.com/rhettinger
Dec 24, 2018https://github.com/python/cpython/pull/2761#event-2042858151
https://github.com/tirkarthi
tirkarthihttps://github.com/tirkarthi
Jan 8, 2019 https://github.com/python/cpython/pull/2761#pullrequestreview-190157004
View reviewed changes https://github.com/python/cpython/pull/2761/files/511406d75f24aa35dba8a1feb3c846a0d9b113ff
Doc/reference/expressions.rsthttps://github.com/python/cpython/pull/2761/files/511406d75f24aa35dba8a1feb3c846a0d9b113ff#diff-c7ab338b9f88f5c444cde36aa48132cf5534500c6969a3fd2c7680234e87afd6
tirkarthihttps://github.com/tirkarthi
Jan 8, 2019https://github.com/python/cpython/pull/2761#discussion_r245929681
Please reload this pagehttps://github.com/python/cpython/pull/2761
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@ztanehttps://github.com/ztane
Please reload this pagehttps://github.com/python/cpython/pull/2761
https://github.com/csabella
csabellahttps://github.com/csabella
May 17, 2019https://github.com/python/cpython/pull/2761#issuecomment-493618539
@ztanehttps://github.com/ztane
@tirkarthihttps://github.com/tirkarthi
Please reload this pagehttps://github.com/python/cpython/pull/2761
https://github.com/csabella
Fix trailing whitespacehttps://github.com/python/cpython/pull/2761/commits/b4f285f984545eac6f141ff40fb27b97c9acc926
b4f285fhttps://github.com/python/cpython/pull/2761/commits/b4f285f984545eac6f141ff40fb27b97c9acc926
https://github.com/csabella
csabellahttps://github.com/csabella
May 30, 2019 https://github.com/python/cpython/pull/2761#pullrequestreview-244007967
View reviewed changes https://github.com/python/cpython/pull/2761/files/b4f285f984545eac6f141ff40fb27b97c9acc926
https://github.com/csabella
csabellahttps://github.com/csabella
2f5b9dchttps://github.com/python/cpython/commit/2f5b9dcc0a89cbde1499c76df81c36bfd5ef9aa8
May 30, 2019https://github.com/python/cpython/pull/2761#event-2379200767
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
May 30, 2019https://github.com/python/cpython/pull/2761#event-2379200974
https://github.com/csabella
csabellahttps://github.com/csabella
needs backport to 3.7 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.7%22
May 30, 2019https://github.com/python/cpython/pull/2761#event-2379210459
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
May 30, 2019https://github.com/python/cpython/pull/2761#issuecomment-497472480
@ztanehttps://github.com/ztane
@csabellahttps://github.com/csabella
Please reload this pagehttps://github.com/python/cpython/pull/2761
miss-islingtonhttps://github.com/miss-islington
May 30, 2019 https://github.com/python/cpython/pull/2761#ref-commit-cd82f02
https://github.com/ztane
https://github.com/miss-islington
bpo-30969: Fix docs about the comparison in absence of __contains__ (https://github.com/miss-islington/cpython/commit/cd82f02ddf73087a0c95f6138bebbdcfc7019a14
p…https://github.com/python/cpython/pull/2761
cd82f02https://github.com/miss-islington/cpython/commit/cd82f02ddf73087a0c95f6138bebbdcfc7019a14
…ythonGH-2761https://github.com/python/cpython/pull/2761
2f5b9dchttps://github.com/miss-islington/cpython/commit/2f5b9dcc0a89cbde1499c76df81c36bfd5ef9aa8
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
needs backport to 3.7 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.7%22
May 30, 2019https://github.com/python/cpython/pull/2761#event-2379211388
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
May 30, 2019https://github.com/python/cpython/pull/2761#issuecomment-497472596
GH-13684https://github.com/python/cpython/pull/13684
3.7 branchhttps://github.com/python/cpython/tree/3.7
Please reload this pagehttps://github.com/python/cpython/pull/2761
miss-islingtonhttps://github.com/miss-islington
May 30, 2019 https://github.com/python/cpython/pull/2761#ref-commit-e8661c1
https://github.com/miss-islington
https://github.com/ztane
bpo-30969https://bugs.python.org/issue?@action=redirect&bpo=30969
: Fix docs about the comparison in absence of __contains__ (https://github.com/python/cpython/commit/e8661c1dabc206bf7fe6e302e38fa426aa734dd0
G…https://github.com/python/cpython/pull/2761
e8661c1https://github.com/python/cpython/commit/e8661c1dabc206bf7fe6e302e38fa426aa734dd0
…H-2761https://github.com/python/cpython/pull/2761
2f5b9dchttps://github.com/python/cpython/commit/2f5b9dcc0a89cbde1499c76df81c36bfd5ef9aa8
DinoVhttps://github.com/DinoV
Jan 14, 2020 https://github.com/python/cpython/pull/2761#ref-commit-520709d
https://github.com/ztane
https://github.com/DinoV
bpo-30969: Fix docs about the comparison in absence of __contains__ (https://github.com/DinoV/cpython/commit/520709daea011671891ffb264686e13ae430e03b
p…https://github.com/python/cpython/pull/2761
520709dhttps://github.com/DinoV/cpython/commit/520709daea011671891ffb264686e13ae430e03b
…ythonGH-2761https://github.com/python/cpython/pull/2761
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F2761
https://github.com/tirkarthi
tirkarthi https://github.com/tirkarthi
https://github.com/python/cpython/pull/2761/files/511406d75f24aa35dba8a1feb3c846a0d9b113ff
https://github.com/rhettinger
rhettinger https://github.com/rhettinger
https://github.com/python/cpython/pull/2761/files/511406d75f24aa35dba8a1feb3c846a0d9b113ff
https://github.com/csabella
csabella https://github.com/csabella
https://github.com/python/cpython/pull/2761/files/b4f285f984545eac6f141ff40fb27b97c9acc926
docs https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Adocs
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Please reload this pagehttps://github.com/python/cpython/pull/2761
https://github.com/ztane
https://github.com/mention-bot
https://github.com/csabella
https://github.com/miss-islington
https://github.com/bedevere-bot
https://github.com/rhettinger
https://github.com/tirkarthi
https://github.com/brettcannon
https://github.com/serhiy-storchaka
https://github.com/the-knights-who-say-ni
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.