From 0369bad6eecc27fd2f6e06b88d2d2ec2a08d3fac Mon Sep 17 00:00:00 2001 From: Joe Jevnik Date: Tue, 25 Apr 2017 22:59:48 -0400 Subject: [PATCH] Remove comment about $ needing to follow | in PyArg_ParseTupleAndKeywords PyArg_ParseTupleAndKeywords supports required positional arguments, $ does not need to follow |. --- Doc/c-api/arg.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Doc/c-api/arg.rst b/Doc/c-api/arg.rst index e4b48e66bc2d1c..6e2309a018bdb9 100644 --- a/Doc/c-api/arg.rst +++ b/Doc/c-api/arg.rst @@ -368,9 +368,7 @@ inside nested parentheses. They are: ``$`` :c:func:`PyArg_ParseTupleAndKeywords` only: Indicates that the remaining arguments in the Python argument list are - keyword-only. Currently, all keyword-only arguments must also be optional - arguments, so ``|`` must always be specified before ``$`` in the format - string. + keyword-only. .. versionadded:: 3.3