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:
31
31
C dialect
32
32
=========
33
33
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++.
38
37
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:
41
39
42
40
- Standard integer types in ``<stdint.h>`` and ``<inttypes.h>``. We
43
41
require the fixed width integer types.
@@ -47,8 +45,10 @@ C dialect
47
45
- booleans
48
46
- C++-style line comments
49
47
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).
52
52
53
53
* Don't use compiler-specific extensions, such as those of GCC or MSVC
54
54
(e.g. don't write multi-line strings without trailing backslashes).
You can’t perform that action at this time.
0 commit comments