We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d34b1d commit bf6e928Copy full SHA for bf6e928
spec/API_specification/function_and_method_signatures.md
@@ -11,6 +11,13 @@ Function signatures in this standard adhere to the following:
11
_Rationale: existing libraries have incompatible conventions, and using names
12
of positional parameters is not normal/recommended practice._
13
14
+ .. note::
15
+
16
+ Positional-only parameters are only available in Python >= 3.8. Libraries
17
+ still supporting 3.7 or 3.6 may consider making the API standard-compliant
18
+ namespace >= 3.8. Alternatively, they can add guidance to their users in the
19
+ documentation to use the functions as if they were positional-only.
20
21
2. Optional parameters must be
22
[keyword-only](https://www.python.org/dev/peps/pep-3102/) arguments.
23
0 commit comments