| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:47936418-d1cc-640a-4c46-e0c589302927 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9766:115F21:BC7C6D:FC1E09:696B86B6 |
| html-safe-nonce | c637101cd7bde5706d496568c253799b30bcdcf543ca12a3af95cc1046928efc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzY2OjExNUYyMTpCQzdDNkQ6RkMxRTA5OjY5NkI4NkI2IiwidmlzaXRvcl9pZCI6Ijg0NTA1OTA5NjgzMjk3NjY1ODIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e332ea33c4d459a9411f3fc117c7cd8ae62138f13d9461a61fac4d1c8bf37e84 |
| hovercard-subject-tag | pull_request:131303361 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/2761/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/fcf5ed06a1b189742000121aa566f3db0eb16ccba7e4a55b2f85fe137574e779/python/cpython/pull/2761 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fcf5ed06a1b189742000121aa566f3db0eb16ccba7e4a55b2f85fe137574e779/python/cpython/pull/2761 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ztane |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://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 AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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 |
| Reload | https://github.com/python/cpython/pull/2761 |
| Reload | https://github.com/python/cpython/pull/2761 |
| Reload | https://github.com/python/cpython/pull/2761 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://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 page | https://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 service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/python/cpython/pull/2761#issue-comment-box |
| csabella | https://github.com/csabella |
| python:master | https://github.com/python/cpython/tree/master |
| ztane:patch-1 | https://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 |
| csabella | https://github.com/csabella |
| python:master | https://github.com/python/cpython/tree/master |
| ztane:patch-1 | https://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 page | https://github.com/python/cpython/pull/2761 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/ztane |
| ztane | https://github.com/ztane |
| Jul 19, 2017 | https://github.com/python/cpython/pull/2761#issue-244015918 |
| Please reload this page | https://github.com/python/cpython/pull/2761 |
| Please reload this page | https://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 |
| 6d411c6 | https://github.com/python/cpython/pull/2761/commits/6d411c6ce4286b21948e1d7df182f510cd9857b2 |
| https://github.com/mention-bot |
| mention-bot | https://github.com/mention-bot |
| Jul 19, 2017 | https://github.com/python/cpython/pull/2761#issuecomment-316362770 |
| @ztane | https://github.com/ztane |
| @birkenfeld | https://github.com/birkenfeld |
| @vadmium | https://github.com/vadmium |
| @benjaminp | https://github.com/benjaminp |
| Please reload this page | https://github.com/python/cpython/pull/2761 |
| https://github.com/the-knights-who-say-ni |
| the-knights-who-say-ni | https://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, 2017 | https://github.com/python/cpython/pull/2761#event-1170088959 |
| ztane | https://github.com/ztane |
| July 19, 2017 15:01 | https://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 |
| 29abde0 | https://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 |
| 511406d | https://github.com/python/cpython/pull/2761/commits/511406d75f24aa35dba8a1feb3c846a0d9b113ff |
| https://github.com/brettcannon |
| brettcannon | https://github.com/brettcannon |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Feb 2, 2018 | https://github.com/python/cpython/pull/2761#event-1455984537 |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
|
docs
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Adocs |
| Dec 8, 2018 | https://github.com/python/cpython/pull/2761#event-2013929685 |
| https://github.com/rhettinger |
| rhettinger | https://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-bot | https://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, 2018 | https://github.com/python/cpython/pull/2761#event-2042800217 |
| https://github.com/rhettinger |
| rhettinger | https://github.com/rhettinger |
|
skip news
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22 |
| Dec 24, 2018 | https://github.com/python/cpython/pull/2761#event-2042800677 |
| https://github.com/rhettinger |
| rhettinger | https://github.com/rhettinger |
| Dec 24, 2018 | https://github.com/python/cpython/pull/2761#event-2042854208 |
| https://github.com/rhettinger |
| rhettinger | https://github.com/rhettinger |
| Dec 24, 2018 | https://github.com/python/cpython/pull/2761#event-2042854255 |
| https://github.com/rhettinger |
| rhettinger | https://github.com/rhettinger |
| Dec 24, 2018 | https://github.com/python/cpython/pull/2761#event-2042858112 |
| https://github.com/rhettinger |
| rhettinger | https://github.com/rhettinger |
| Dec 24, 2018 | https://github.com/python/cpython/pull/2761#event-2042858151 |
| https://github.com/tirkarthi |
| tirkarthi | https://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.rst | https://github.com/python/cpython/pull/2761/files/511406d75f24aa35dba8a1feb3c846a0d9b113ff#diff-c7ab338b9f88f5c444cde36aa48132cf5534500c6969a3fd2c7680234e87afd6 |
| tirkarthi | https://github.com/tirkarthi |
| Jan 8, 2019 | https://github.com/python/cpython/pull/2761#discussion_r245929681 |
| Please reload this page | https://github.com/python/cpython/pull/2761 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| @ztane | https://github.com/ztane |
| Please reload this page | https://github.com/python/cpython/pull/2761 |
| https://github.com/csabella |
| csabella | https://github.com/csabella |
| May 17, 2019 | https://github.com/python/cpython/pull/2761#issuecomment-493618539 |
| @ztane | https://github.com/ztane |
| @tirkarthi | https://github.com/tirkarthi |
| Please reload this page | https://github.com/python/cpython/pull/2761 |
|
| https://github.com/csabella |
| Fix trailing whitespace | https://github.com/python/cpython/pull/2761/commits/b4f285f984545eac6f141ff40fb27b97c9acc926 |
| b4f285f | https://github.com/python/cpython/pull/2761/commits/b4f285f984545eac6f141ff40fb27b97c9acc926 |
| https://github.com/csabella |
| csabella | https://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 |
| csabella | https://github.com/csabella |
| 2f5b9dc | https://github.com/python/cpython/commit/2f5b9dcc0a89cbde1499c76df81c36bfd5ef9aa8 |
| May 30, 2019 | https://github.com/python/cpython/pull/2761#event-2379200767 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
| May 30, 2019 | https://github.com/python/cpython/pull/2761#event-2379200974 |
| https://github.com/csabella |
| csabella | https://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, 2019 | https://github.com/python/cpython/pull/2761#event-2379210459 |
| https://github.com/miss-islington |
| miss-islington | https://github.com/miss-islington |
| May 30, 2019 | https://github.com/python/cpython/pull/2761#issuecomment-497472480 |
| @ztane | https://github.com/ztane |
| @csabella | https://github.com/csabella |
| Please reload this page | https://github.com/python/cpython/pull/2761 |
| miss-islington | https://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 |
| cd82f02 | https://github.com/miss-islington/cpython/commit/cd82f02ddf73087a0c95f6138bebbdcfc7019a14 |
| …ythonGH-2761 | https://github.com/python/cpython/pull/2761 |
| 2f5b9dc | https://github.com/miss-islington/cpython/commit/2f5b9dcc0a89cbde1499c76df81c36bfd5ef9aa8 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://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, 2019 | https://github.com/python/cpython/pull/2761#event-2379211388 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
| May 30, 2019 | https://github.com/python/cpython/pull/2761#issuecomment-497472596 |
| GH-13684 | https://github.com/python/cpython/pull/13684 |
| 3.7 branch | https://github.com/python/cpython/tree/3.7 |
| Please reload this page | https://github.com/python/cpython/pull/2761 |
| miss-islington | https://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-30969 | https://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 |
| e8661c1 | https://github.com/python/cpython/commit/e8661c1dabc206bf7fe6e302e38fa426aa734dd0 |
| …H-2761 | https://github.com/python/cpython/pull/2761 |
| 2f5b9dc | https://github.com/python/cpython/commit/2f5b9dcc0a89cbde1499c76df81c36bfd5ef9aa8 |
| DinoV | https://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 |
| 520709d | https://github.com/DinoV/cpython/commit/520709daea011671891ffb264686e13ae430e03b |
| …ythonGH-2761 | https://github.com/python/cpython/pull/2761 |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://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 page | https://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 |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |