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 santoso.wijaya
Recipients docs@python, santoso.wijaya
Date 2011-03-22.21:45:40
SpamBayes Score 0.011570065
Marked as misclassified No
Message-id <1300830341.3.0.391550111742.issue11639@psf.upfronthosting.co.za>
In-reply-to
Content
For example, the function `fileConfig` is listed in the documentation [1] as `logging.fileConfig`. This was a surprise for me when trying it gave me an AttributeError. Only after reading the source code that I found out this function is defined in the `logging.config` module, and must be referenced as such.

[1] http://docs.python.org/library/logging.html#logging.fileConfig
History
Date User Action Args
2011-03-22 21:45:41santoso.wijayasetrecipients: + santoso.wijaya, docs@python
2011-03-22 21:45:41santoso.wijayasetmessageid: <1300830341.3.0.391550111742.issue11639@psf.upfronthosting.co.za>
2011-03-22 21:45:40santoso.wijayalinkissue11639 messages
2011-03-22 21:45:40santoso.wijayacreate