homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author petere
Recipients docs@python, petere
Date 2012年09月24日.16:53:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1348505583.77.0.632308357055.issue16026@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012年09月24日 16:53:03peteresetrecipients: + petere, docs@python
2012年09月24日 16:53:03peteresetmessageid: <1348505583.77.0.632308357055.issue16026@psf.upfronthosting.co.za>
2012年09月24日 16:53:03peterelinkissue16026 messages
2012年09月24日 16:53:02peterecreate

AltStyle によって変換されたページ (->オリジナル) /