Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
See all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
python
cpython
Repository navigation
Code
Issues
5k+
(5k+)
Pull requests
2.3k
(2.3k)
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Doc
library
operator.rst
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Jun 8, 2026
gh-141623: operator.rst: don't use term "bitwise" (GH-141846)
doronbehar
authored
bd5fa31
View commit details
Copy full SHA for bd5fa31
View code at this point
Browse repository at this point
Commits on Feb 19, 2026
Docs: remove unneeded author attributions (#145002)
Show description for 852ec18
nedbat
authored
852ec18
View commit details
Copy full SHA for 852ec18
View code at this point
Browse repository at this point
Commits on Feb 6, 2026
Docs: module pages should not link to themselves (#144505)
Show description for 638d22c
nedbat
authored
638d22c
View commit details
Copy full SHA for 638d22c
View code at this point
Browse repository at this point
Commits on Aug 10, 2024
gh-115808: Add ``is_none`` and ``is_not_none`` to ``operator`` (#115814)
Show description for 5580f31
ThexXTURBOXx
and
Eclips4
authored
5580f31
View commit details
Copy full SHA for 5580f31
View code at this point
Browse repository at this point
Commits on May 8, 2024
docs: module page titles should not start with a link to themselves (#117099)
nedbat
authored
bcb435e
View commit details
Copy full SHA for bcb435e
View code at this point
Browse repository at this point
Commits on Oct 19, 2023
GH-101100: Fix reference warnings for ``__getitem__`` (#110118)
AA-Turner
authored
da99133
View commit details
Copy full SHA for da99133
View code at this point
Browse repository at this point
Commits on Jul 29, 2023
gh-101100: Sphinx warnings: pick the low hanging fruits (GH-107386)
serhiy-storchaka
authored
f2d07d3
View commit details
Copy full SHA for f2d07d3
View code at this point
Browse repository at this point
Commits on May 21, 2023
Corrected identifier (#104713)
willsawyerrrr
authored
60993ba
View commit details
Copy full SHA for 60993ba
View code at this point
Browse repository at this point
Commits on Feb 14, 2023
GH-101898: Fix missing term references for hashable definition (#101899)
Show description for 3690688
furkanonder
authored
3690688
View commit details
Copy full SHA for 3690688
View code at this point
Browse repository at this point
Commits on Sep 24, 2021
bpo-44019: Add missing comma to operator.call doc (GH-28551)
terryjreedy
authored
bfe26bb
View commit details
Copy full SHA for bfe26bb
View code at this point
Browse repository at this point
bpo-44019: Implement operator.call(). (GH-27888)
Show description for 6587fc6
anntzer
authored
6587fc6
View commit details
Copy full SHA for 6587fc6
View code at this point
Browse repository at this point
Commits on Apr 27, 2021
[doc] Remove duplicated operator.itemgetter example (GH-24178)
Show description for 743e2ba
andresdelfino
authored
743e2ba
View commit details
Copy full SHA for 743e2ba
View code at this point
Browse repository at this point
Commits on May 28, 2020
bpo-40792: Make the result of PyNumber_Index() always having exact type int. (GH-20443)
Show description for 5f4b229
serhiy-storchaka
authored
5f4b229
View commit details
Copy full SHA for 5f4b229
View code at this point
Browse repository at this point
Commits on Jun 1, 2019
bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700)
serhiy-storchaka
authored
2085bd0
View commit details
Copy full SHA for 2085bd0
View code at this point
Browse repository at this point
Commits on Apr 8, 2019
Correct "inplace" with "in-place" (GH-10480)
andresdelfino
authored and
methane
committed
f4efa31
View commit details
Copy full SHA for f4efa31
View code at this point
Browse repository at this point
Commits on Apr 13, 2018
itemgetter add dict example (GH-1280)
twz915
authored and
ned-deily
committed
ffa2c3e
View commit details
Copy full SHA for ffa2c3e
View code at this point
Browse repository at this point
Commits on Sep 24, 2017
bpo-30085: Improve documentation for operator (#1171)
Show description for 5b9299d
SanketDG
authored and
terryjreedy
committed
5b9299d
View commit details
Copy full SHA for 5b9299d
View code at this point
Browse repository at this point
Commits on Sep 8, 2017
Show example of itemgetter() applied to a dictionary (#3431)
rhettinger
authored
70c2dd3
View commit details
Copy full SHA for 70c2dd3
View code at this point
Browse repository at this point
Commits on Jun 11, 2016
Issue #22558: Add remaining doc links to source code for Python-coded modules.
Show description for fa089b9
terryjreedy
committed
fa089b9
View commit details
Copy full SHA for fa089b9
View code at this point
Browse repository at this point
Commits on Aug 10, 2014
merge
rhettinger
committed
939c813
View commit details
Copy full SHA for 939c813
View code at this point
Browse repository at this point
Issue #22180: Remove weak example
rhettinger
committed
31b3683
View commit details
Copy full SHA for 31b3683
View code at this point
Browse repository at this point
Commits on Apr 10, 2014
PEP 465: a dedicated infix operator for matrix multiplication (closes #21176)
benjaminp
committed
d51374e
View commit details
Copy full SHA for d51374e
View code at this point
Browse repository at this point
Commits on Mar 16, 2014
Merge in all documentation changes since branching 3.4.0rc1.
larryhastings
committed
3732ed2
View commit details
Copy full SHA for 3732ed2
View code at this point
Browse repository at this point
Commits on Mar 10, 2014
whatsnew: PEP 424 implementation.
bitdancer
committed
e8db162
View commit details
Copy full SHA for e8db162
View code at this point
Browse repository at this point
Commits on Dec 18, 2013
Closes #20005: Fix typo in operator docs. Patch by Claudiu Popa.
zware
committed
e61f4df
View commit details
Copy full SHA for e61f4df
View code at this point
Browse repository at this point
Issue #20005: Fix typo in operator docs. Patch by Claudiu Popa.
zware
committed
0bffca0
View commit details
Copy full SHA for 0bffca0
View code at this point
Browse repository at this point
Commits on Oct 6, 2013
merge with 3.3
birkenfeld
committed
3686db1
View commit details
Copy full SHA for 3686db1
View code at this point
Browse repository at this point
Fix typo in function name.
birkenfeld
committed
f6d6347
View commit details
Copy full SHA for f6d6347
View code at this point
Browse repository at this point
Commits on May 11, 2013
Issue #16694: Add source code link for operator.py
rhettinger
committed
3f5228d
View commit details
Copy full SHA for 3f5228d
View code at this point
Browse repository at this point
Commits on May 8, 2013
#16523: merge with 3.3.
ezio-melotti
committed
0fbdf26
View commit details
Copy full SHA for 0fbdf26
View code at this point
Browse repository at this point
#16523: improve attrgetter/itemgetter/methodcaller documentation.
ezio-melotti
committed
babc822
View commit details
Copy full SHA for babc822
View code at this point
Browse repository at this point
Commits on Oct 7, 2012
Fix markup.
ezio-melotti
committed
e12dc28
View commit details
Copy full SHA for e12dc28
View code at this point
Browse repository at this point
Issue #16148: Small improvements and cleanup. Added version information
Show description for 74b38b1
mitsuhiko
committed
74b38b1
View commit details
Copy full SHA for 74b38b1
View code at this point
Browse repository at this point
Commits on Oct 6, 2012
Issue #16148: implemented PEP 424
mitsuhiko
committed
aa9a79d
View commit details
Copy full SHA for aa9a79d
View code at this point
Browse repository at this point
Commits on Jun 1, 2012
Issue #14968: set 'Inplace Operators' as subsection; patch by Lars Buitinck
sandrotosi
committed
3f7d1d3
View commit details
Copy full SHA for 3f7d1d3
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.