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.7k
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
functools.rst
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Aug 2, 2026
gh-155013: Fix a reference to "partial object" in the `functools.partial()` doc (#155036)
Show description for 204feba
sirosen
and
StanFromIreland
authored
204feba
View commit details
Copy full SHA for 204feba
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 Apr 30, 2026
gh-149083: Use `sentinel` in `functools.rst` docs (#149176)
sobolevn
authored
bf42481
View commit details
Copy full SHA for bf42481
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 Feb 5, 2026
More realistic lru_cache example (gh-144517)
rhettinger
authored
50e107f
View commit details
Copy full SHA for 50e107f
View code at this point
Browse repository at this point
Commits on Nov 24, 2025
gh-141831: Document behavior of functools.lru_cache with concurrent access (gh-141869)
SkvProgrammer
authored
9346e22
View commit details
Copy full SHA for 9346e22
View code at this point
Browse repository at this point
Commits on Nov 18, 2025
Python 3.15.0a2
hugovk
committed
a625628
View commit details
Copy full SHA for a625628
View code at this point
Browse repository at this point
Commits on Nov 13, 2025
gh-140873: Add support of non-descriptor callables in functools.singledispatchmethod() (GH-140884)
serhiy-storchaka
authored
b2b68d4
View commit details
Copy full SHA for b2b68d4
View code at this point
Browse repository at this point
Commits on Nov 5, 2025
Docs: Fix cached calls count in factorial example (gh-140882)
cliffordgama
authored
1ae9004
View commit details
Copy full SHA for 1ae9004
View code at this point
Browse repository at this point
Commits on Oct 20, 2025
Remove typo in ``functools.lru_cache`` docs (#140278)
bhubache
authored
7babe31
View commit details
Copy full SHA for 7babe31
View code at this point
Browse repository at this point
Commits on Oct 5, 2025
gh-105812: Use the ``:deco:`` role in place of manual decorator markup (#139619)
AA-Turner
authored
3195da0
View commit details
Copy full SHA for 3195da0
View code at this point
Browse repository at this point
Commits on Jul 11, 2025
gh-101100: Fix sphinx warnings in Doc/library/functools.rst (GH-136424)
Show description for 252e2f7
LamentXU123
authored
252e2f7
View commit details
Copy full SHA for 252e2f7
View code at this point
Browse repository at this point
Commits on May 8, 2025
gh-125028: Prohibit placeholders in partial keywords (GH-126062)
dg-pb
authored
afed5f8
View commit details
Copy full SHA for afed5f8
View code at this point
Browse repository at this point
Commits on Mar 4, 2025
gh-105499: Merge typing.Union and types.UnionType (#105511)
Show description for dc6d66f
4 people
authored
dc6d66f
View commit details
Copy full SHA for dc6d66f
View code at this point
Browse repository at this point
Commits on Jan 9, 2025
gh-128650: Fix incorrect statement in partial documentation (gh-128651)
dg-pb
authored
8af5781
View commit details
Copy full SHA for 8af5781
View code at this point
Browse repository at this point
Commits on Nov 19, 2024
Python 3.14.0a2
hugovk
committed
add43c3
View commit details
Copy full SHA for add43c3
View code at this point
Browse repository at this point
Commits on Nov 12, 2024
gh-125916: Allow functools.reduce() 'initial' to be a keyword argument (#125917)
sayandipdutta
authored
abb90ba
View commit details
Copy full SHA for abb90ba
View code at this point
Browse repository at this point
Commits on Oct 3, 2024
Simplify partial() rough equivalent code (gh-124941)
rhettinger
authored
7ecaf21
View commit details
Copy full SHA for 7ecaf21
View code at this point
Browse repository at this point
Commits on Sep 27, 2024
gh-90190: Add doc for using `singledispatch` with precise collection type hints (#116544)
Delengowski
authored
2357d5b
View commit details
Copy full SHA for 2357d5b
View code at this point
Browse repository at this point
Commits on Sep 26, 2024
gh-119127: functools: Improve docs for partial and Placeholder (#124575)
JelleZijlstra
authored
cf24180
View commit details
Copy full SHA for cf24180
View code at this point
Browse repository at this point
gh-119127: functools.partial placeholders (gh-119827)
dg-pb
authored
d929652
View commit details
Copy full SHA for d929652
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 17, 2024
GH-103484: Fix broken links reported by linkcheck (#124169)
rffontenelle
authored
ab80c6b
View commit details
Copy full SHA for ab80c6b
View code at this point
Browse repository at this point
Commits on Aug 30, 2024
gh-123492: Remove unnecessary `:func:` parentheses (#123493)
mattwang44
authored
103a047
View commit details
Copy full SHA for 103a047
View code at this point
Browse repository at this point
Commits on May 13, 2024
gh-119010: Adds docs about `__type_params__` to `functools.update_wrapper` (#119012)
Show description for b04c497
sobolevn
and
JelleZijlstra
authored
b04c497
View commit details
Copy full SHA for b04c497
View code at this point
Browse repository at this point
Commits on May 8, 2024
Format None, True, False and NotImplemented as literals (GH-118758)
serhiy-storchaka
authored
05c2fe1
View commit details
Copy full SHA for 05c2fe1
View code at this point
Browse repository at this point
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 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 22, 2024
Docs: align usage of versionadded/versionchanged with recommended practice (#114409)
Show description for 1d7bddd
3 people
authored
1d7bddd
View commit details
Copy full SHA for 1d7bddd
View code at this point
Browse repository at this point
Commits on Jan 3, 2024
`functools.partial` docs: Use the more common spelling for "referenceable" (#113675)
rodrigogiraoserrao
authored
4de468c
View commit details
Copy full SHA for 4de468c
View code at this point
Browse repository at this point
Commits on Sep 18, 2023
gh-102757: fix function signature mismatch for `functools.reduce` between code and documentation (#102759)
XuehaiPan
authored
74f315e
View commit details
Copy full SHA for 74f315e
View code at this point
Browse repository at this point
Commits on Aug 20, 2023
gh-107619: Extend functools LRU cache docs with generators and async functions (#107934)
Show description for 1a713ea
3 people
authored
1a713ea
View commit details
Copy full SHA for 1a713ea
View code at this point
Browse repository at this point
Commits on May 4, 2023
gh-104112: link from cached_property docs to method-caching FAQ (#104113)
Show description for fa86a77
carljm
and
hauntsaninja
authored
fa86a77
View commit details
Copy full SHA for fa86a77
View code at this point
Browse repository at this point
Commits on Apr 22, 2023
GH-103475: cache() and lru_cache() do not have a "call once" guarantee (GH-103669)
rhettinger
authored
e5eaac6
View commit details
Copy full SHA for e5eaac6
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.