Message169547
From docs@python.org:
"""
In a number of places we find documentation with optional leading arguments where the meta-notation (square brackets) are in the wrong place. For example, for range, the standard doc heading says
range([start], stop [, step]) # The comma after start should be inside the square bracket, not outside.
The same error occurs with docs for print, and for slice, for random.randrange and for random.seed, etc, etc. This seems a consistent bug whenever a function or method takes an optional first argument, and it looks like it might have been put there by some tool that generates the docs.
I use Python 3 - perhaps there was once a time when one had to supply the comma if one omitted the first argument? In Python 3 it gives errors if one follows the documentation carefully and uses the comma.
""""
(or see http://mail.python.org/pipermail/docs/2012-August/010051.html ) |
|
Date |
User |
Action |
Args |
2012-08-31 15:57:14 | chris.jerdonek | set | recipients:
+ chris.jerdonek, docs@python |
2012-08-31 15:57:14 | chris.jerdonek | set | messageid: <1346428634.66.0.0584130722662.issue15831@psf.upfronthosting.co.za> |
2012-08-31 15:57:14 | chris.jerdonek | link | issue15831 messages |
2012-08-31 15:57:13 | chris.jerdonek | create | |
|