[Python-checkins] peps (merge default -> default): Head merge.
barry.warsaw
python-checkins at python.org
Wed Oct 9 02:22:30 CEST 2013
http://hg.python.org/peps/rev/72edb2870f8b
changeset: 5185:72edb2870f8b
parent: 5184:a0bf18e234f3
parent: 5183:4e8ada3a9f74
user: Barry Warsaw <barry at python.org>
date: Tue Oct 08 20:22:24 2013 -0400
summary:
Head merge.
files:
pep-0457.txt | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/pep-0457.txt b/pep-0457.txt
--- a/pep-0457.txt
+++ b/pep-0457.txt
@@ -145,7 +145,7 @@
in optional "groups". Groups of parameters are surrounded by
square brackets, like so::
- def addch([y, x,] ch, [attr], /):
+ def addch([y, x,] ch, [attr,] /):
Positional-only parameters that are not in an option group are
"required" positional-only parameters. All "required" positional-only
@@ -205,7 +205,7 @@
It's possible to specify a function prototype where the mapping
of arguments to parameters is ambiguous. Consider::
- def range([start,] stop, [range], /):
+ def range([start,] stop, [range,] /):
Python disambiguates these situations by preferring optional groups
to the *left* of the required group.
--
Repository URL: http://hg.python.org/peps
More information about the Python-checkins
mailing list