Message131791
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 |
|
Date |
User |
Action |
Args |
2011-03-22 21:45:41 | santoso.wijaya | set | recipients:
+ santoso.wijaya, docs@python |
2011-03-22 21:45:41 | santoso.wijaya | set | messageid: <1300830341.3.0.391550111742.issue11639@psf.upfronthosting.co.za> |
2011-03-22 21:45:40 | santoso.wijaya | link | issue11639 messages |
2011-03-22 21:45:40 | santoso.wijaya | create | |
|