Message171161
The documentation for the csv.DictReader constructor is
.. class:: DictReader(csvfile, fieldnames=None, restkey=None, restval=None, dialect='excel', *args, **kwds)
but the implementation is
def __init__(self, f, fieldnames=None, restkey=None, restval=None, dialect="excel", *args, **kwds):
The name of the first argument is documented incorrectly, leading to surprise errors when attempting to use key word arguments. |
|
| Date |
User |
Action |
Args |
| 2012-09-24 16:53:03 | petere | set | recipients:
+ petere, docs@python |
| 2012-09-24 16:53:03 | petere | set | messageid: <1348505583.77.0.632308357055.issue16026@psf.upfronthosting.co.za> |
| 2012-09-24 16:53:03 | petere | link | issue16026 messages |
| 2012-09-24 16:53:02 | petere | create | |
|