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 josh.r
Recipients cowlinator, josh.r, r.david.murray
Date 2018年02月07日.04:10:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1517976634.44.0.467229070634.issue32784@psf.upfronthosting.co.za>
In-reply-to
Content
Side-note: You say "how could i have known it was named 'f'?"
>>> help(csv.DictReader)
class DictReader
 | Methods defined here:
 |
 | __init__(self, f, fieldnames=None, restkey=None, restval=None, dialect='excel', *args, **kwds)
... rest of class help ...
Not saying the docs shouldn't be fixed, but the name is correctly given in the __init__ prototype (being implemented in Python, the names are always available to help() introspection, barring really specific cases of manual parsing of **kwargs). Just a general tip for the future.
History
Date User Action Args
2018年02月07日 04:10:34josh.rsetrecipients: + josh.r, r.david.murray, cowlinator
2018年02月07日 04:10:34josh.rsetmessageid: <1517976634.44.0.467229070634.issue32784@psf.upfronthosting.co.za>
2018年02月07日 04:10:34josh.rlinkissue32784 messages
2018年02月07日 04:10:34josh.rcreate

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