Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Spark
Build and deploy intelligent apps
GitHub Models
Manage and compare prompts
MCP Registry
New
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
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
Accelerator
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 or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Appearance settings
Resetting focus
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
34.5k
Star
72.5k
Code
Issues
5k+
Pull requests
2.1k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Files
Expand file tree
85d3bcd4f3b736cad40e8c71df3f7d69dfacabf9
Breadcrumbs
cpython
/
Doc
/
c-api
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
85d3bcd
Breadcrumbs
cpython
/
Doc
/
c-api
/
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
abstract.rst
abstract.rst
allocation.rst
allocation.rst
apiabiversion.rst
apiabiversion.rst
arg.rst
arg.rst
bool.rst
bool.rst
buffer.rst
buffer.rst
bytearray.rst
bytearray.rst
bytes.rst
bytes.rst
call.rst
call.rst
capsule.rst
capsule.rst
cell.rst
cell.rst
code.rst
code.rst
codec.rst
codec.rst
complex.rst
complex.rst
concrete.rst
concrete.rst
contextvars.rst
contextvars.rst
conversion.rst
conversion.rst
coro.rst
coro.rst
curses.rst
curses.rst
datetime.rst
datetime.rst
descriptor.rst
descriptor.rst
dict.rst
dict.rst
exceptions.rst
exceptions.rst
extension-modules.rst
extension-modules.rst
file.rst
file.rst
float.rst
float.rst
frame.rst
frame.rst
function.rst
function.rst
gcsupport.rst
gcsupport.rst
gen.rst
gen.rst
hash.rst
hash.rst
import.rst
import.rst
index.rst
index.rst
init.rst
init.rst
init_config.rst
init_config.rst
interp-lifecycle.rst
interp-lifecycle.rst
intro.rst
intro.rst
iter.rst
iter.rst
iterator.rst
iterator.rst
lifecycle.dot
lifecycle.dot
lifecycle.dot.css
lifecycle.dot.css
lifecycle.dot.pdf
lifecycle.dot.pdf
lifecycle.dot.svg
lifecycle.dot.svg
lifecycle.rst
lifecycle.rst
list.rst
list.rst
long.rst
long.rst
mapping.rst
mapping.rst
marshal.rst
marshal.rst
memory.rst
memory.rst
memoryview.rst
memoryview.rst
method.rst
method.rst
module.rst
module.rst
monitoring.rst
monitoring.rst
none.rst
none.rst
number.rst
number.rst
object.rst
object.rst
objimpl.rst
objimpl.rst
perfmaps.rst
perfmaps.rst
picklebuffer.rst
picklebuffer.rst
profiling.rst
profiling.rst
refcounting.rst
refcounting.rst
reflection.rst
reflection.rst
sequence.rst
sequence.rst
set.rst
set.rst
slice.rst
slice.rst
stable.rst
stable.rst
structures.rst
structures.rst
subinterpreters.rst
subinterpreters.rst
synchronization.rst
synchronization.rst
sys.rst
sys.rst
threads.rst
threads.rst
time.rst
time.rst
tls.rst
tls.rst
tuple.rst
tuple.rst
type.rst
type.rst
typehints.rst
typehints.rst
typeobj.rst
typeobj.rst
unicode.rst
unicode.rst
utilities.rst
utilities.rst
veryhigh.rst
veryhigh.rst
weakref.rst
weakref.rst
View all files
You can’t perform that action at this time.