mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
gh-129666: Add C11/C++11 to docs and -pedantic-errors
to GCC/clang test_c[pp]ext tests (GH-130686)
This commit is contained in:
parent
cc17307faa
commit
003e6d2b97
7 changed files with 62 additions and 0 deletions
|
@ -30,6 +30,16 @@ familiar with writing an extension before attempting to embed Python in a real
|
|||
application.
|
||||
|
||||
|
||||
Language version compatibility
|
||||
==============================
|
||||
|
||||
Python's C API is compatible with C11 and C++11 versions of C and C++.
|
||||
|
||||
This is a lower limit: the C API does not require features from later
|
||||
C/C++ versions.
|
||||
You do *not* need to enable your compiler's "c11 mode".
|
||||
|
||||
|
||||
Coding standards
|
||||
================
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue