File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -31,13 +31,11 @@ particular rule:
3131C dialect
3232=========
3333
34- * Python versions before 3.6 use ANSI/ISO standard C (the 1989 version
35- of the standard). This means (amongst many other things) that all
36- declarations must be at the top of a block (not necessarily at the
37- top of function).
34+ * Python 3.11 and newer versions use C11 without `optional features
35+ <https://en.wikipedia.org/wiki/C11_%28C_standard_revision%29#Optional_features>`_.
36+ The public C API should be compatible with C++.
3837
39- * Python versions greater than or equal to 3.6 use C89 with several
40- select C99 features:
38+ * Python 3.6 to 3.10 use C89 with several select C99 features:
4139
4240 - Standard integer types in ``<stdint.h>`` and ``<inttypes.h>``. We
4341 require the fixed width integer types.
@@ -47,8 +45,10 @@ C dialect
4745 - booleans
4846 - C++-style line comments
4947
50- Future C99 features may be added to this list in the future
51- depending on compiler support (mostly significantly MSVC).
48+ * Python versions before 3.6 used ANSI/ISO standard C (the 1989 version
49+ of the standard). This meant (amongst many other things) that all
50+ declarations must be at the top of a block (not necessarily at the
51+ top of function).
5252
5353* Don't use compiler-specific extensions, such as those of GCC or MSVC
5454 (e.g. don't write multi-line strings without trailing backslashes).
You can’t perform that action at this time.
0 commit comments