[docs] Signature of configparser.ConfigParser

Sven Heinemann mail at bachsau.name
Sun Feb 4 08:19:14 EST 2018


I just tried to set up a ConfigParser by giving all settings as 
positional arguments. According to the documentation, this should be 
possible. However, I got the error message, that ConfigParser.__init__() 
only accepts up to four positional arguments, effectively three, since 
the first one is `self`. I had to inspect its constructor to find out 
what's really going on. It should be documented.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4199 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.python.org/pipermail/docs/attachments/20180204/2b5c1c1c/attachment.bin>


More information about the docs mailing list