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
View 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
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
36.8k
Star
77.3k
Code
Issues
5k+
Pull requests
2.7k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
cpython
Doc
library
collections.rst
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Sep 10, 2026
gh-141984: Add "exhausted" to glossary, link existing mentions (GH-157225)
Show description for 9bd670c
3 people
authored
9bd670c
View commit details
Copy full SHA for 9bd670c
View code at this point
Browse repository at this point
Commits on Jul 30, 2026
gh-154746: Document `collections.Counter` internal order and display order (#154777)
rhettinger
authored
22fed93
View commit details
Copy full SHA for 22fed93
View code at this point
Browse repository at this point
Commits on Jun 5, 2026
Use `time.monotonic` in OrderedDict LRU cache example (#150986)
ilya-nikolaev
authored
ea4c855
View commit details
Copy full SHA for ea4c855
View code at this point
Browse repository at this point
Commits on Jun 3, 2026
gh-105812: Make use of the Sphinx `deco` role in documentation (#139598)
Viicos
authored
deb33ec
View commit details
Copy full SHA for deb33ec
View code at this point
Browse repository at this point
Commits on Jun 2, 2026
gh-150319: Replace all documentation which says "See PEP 585" (#150325)
Show description for 50fe49c
4 people
authored
50fe49c
View commit details
Copy full SHA for 50fe49c
View code at this point
Browse repository at this point
Commits on Apr 22, 2026
gh-148883: Docs: clarify grammar in Counter dictionary methods note (gh-148882)
SanJJ1
authored
79321fd
View commit details
Copy full SHA for 79321fd
View code at this point
Browse repository at this point
Commits on Apr 15, 2026
gh-147957: pop items from UserDict in LIFO order (gh-147958)
Andrew5057
authored
d14e31e
View commit details
Copy full SHA for d14e31e
View code at this point
Browse repository at this point
Commits on Mar 26, 2026
gh-144837: Improve documentation for more collection methods (GH-144841)
Show description for 17070f4
serhiy-storchaka
authored
17070f4
View commit details
Copy full SHA for 17070f4
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 Nov 19, 2025
gh-141721: Improve docstring for LastUpdatedOrderedDict example (gh141724)
ramalho
authored
01713b4
View commit details
Copy full SHA for 01713b4
View code at this point
Browse repository at this point
Commits on Oct 14, 2025
Python 3.15.0a1
hugovk
committed
aeff92d
View commit details
Copy full SHA for aeff92d
View code at this point
Browse repository at this point
Commits on Sep 26, 2025
gh-138682: Add symmetric difference to Counter (gh-138766)
rhettinger
authored
7909b30
View commit details
Copy full SHA for 7909b30
View code at this point
Browse repository at this point
Commits on Sep 8, 2025
GH-101100: Remove some entries from ``nitpick_ignore`` (#138464)
AA-Turner
authored
22cb9ba
View commit details
Copy full SHA for 22cb9ba
View code at this point
Browse repository at this point
Commits on Sep 5, 2025
GH-138465: Improve documentation for common sequence methods (#138474)
Show description for 8ed1d53
AA-Turner
and
serhiy-storchaka
authored
8ed1d53
View commit details
Copy full SHA for 8ed1d53
View code at this point
Browse repository at this point
Commits on Mar 3, 2025
gh-101100: Fix Sphinx documentation warnings in `collections.rst` (#130629)
Viicos
authored
373eb1b
View commit details
Copy full SHA for 373eb1b
View code at this point
Browse repository at this point
Commits on Dec 2, 2024
gh-101100: Fix Sphinx warnings about list methods (#127054)
Yuki Kobayashi
authored
3e81225
View commit details
Copy full SHA for 3e81225
View code at this point
Browse repository at this point
Commits on Sep 25, 2024
gh-101100: Add a table of class attributes to the "Custom classes" section of the data model docs (#124480)
AlexWaygood
authored
0d9d56c
View commit details
Copy full SHA for 0d9d56c
View code at this point
Browse repository at this point
Commits on Sep 23, 2024
gh-119004: fix a crash in equality testing between `OrderedDict` (#121329)
picnixz
authored
38a887d
View commit details
Copy full SHA for 38a887d
View code at this point
Browse repository at this point
Commits on Jun 12, 2024
gh-120345: Fix incorrect use of the :class: role with the "()" suffix (GH-120347)
Show description for 92c9c6a
serhiy-storchaka
authored
92c9c6a
View commit details
Copy full SHA for 92c9c6a
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
gh-118671: Updated dead ActiveState links (#118730)
Show description for c4f9823
3 people
authored
c4f9823
View commit details
Copy full SHA for c4f9823
View code at this point
Browse repository at this point
Commits on Mar 7, 2024
gh-115664: Fix ordering of more versionadded and versionchanged directives (GH-116298)
serhiy-storchaka
authored
808a776
View commit details
Copy full SHA for 808a776
View code at this point
Browse repository at this point
Commits on Jan 10, 2024
gh-113664: Improve style of Big O notation (GH-113695)
Show description for a862981
serhiy-storchaka
authored
a862981
View commit details
Copy full SHA for a862981
View code at this point
Browse repository at this point
Commits on Dec 4, 2023
gh-110275: Named tuple's __replace__() now raises TypeError for invalid arguments (GH-110299)
serhiy-storchaka
authored
c74e9fb
View commit details
Copy full SHA for c74e9fb
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 Oct 11, 2023
gh-110631: Fix reST indentation in `Doc/library` (#110685)
Show description for bb7923f
ezio-melotti
authored
bb7923f
View commit details
Copy full SHA for bb7923f
View code at this point
Browse repository at this point
Commits on Sep 28, 2023
gh-109812: Fix phrasing for `collections.Counter` (gh-109813)
JacobCoffee
authored
99fba5f
View commit details
Copy full SHA for 99fba5f
View code at this point
Browse repository at this point
Commits on Sep 6, 2023
gh-108751: Add copy.replace() function (GH-108752)
Show description for 6f3c138
serhiy-storchaka
authored
6f3c138
View commit details
Copy full SHA for 6f3c138
View code at this point
Browse repository at this point
Commits on Aug 11, 2023
gh-107421: Clarify `OrderedDict` Examples and Recipes (#107613)
shailshouryya
authored
23a6db9
View commit details
Copy full SHA for 23a6db9
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 Dec 9, 2022
gh-99087: Add missing newline for prompts in docs (GH-98993)
Show description for 286e3c7
slateny
authored
286e3c7
View commit details
Copy full SHA for 286e3c7
View code at this point
Browse repository at this point
Commits on Sep 22, 2022
include OrderedDict import in TimeBoundedLRU example (GH-96962)
Harry-Lees
authored
ec40353
View commit details
Copy full SHA for ec40353
View code at this point
Browse repository at this point
Commits on Aug 4, 2022
gh-91838: Use HTTPS links in docs for resources which redirect to HTTPS (GH-95527)
Show description for f79547a
serhiy-storchaka
authored
f79547a
View commit details
Copy full SHA for f79547a
View code at this point
Browse repository at this point
Commits on Feb 25, 2022
Update dict/OrderedDict differences with code equivalents. (GH-31563)
rhettinger
authored
26aba29
View commit details
Copy full SHA for 26aba29
View code at this point
Browse repository at this point
Commits on Feb 19, 2022
Counter doc mentions three methods, but lists four (GH-30706)
Show description for 99331fc
bruchar1
authored
99331fc
View commit details
Copy full SHA for 99331fc
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.