[issue11639] Documentation for *Config functions in logging module should be in logging.config

Santoso Wijaya report at bugs.python.org
Tue Mar 22 22:45:41 CET 2011


New submission from Santoso Wijaya <santoso.wijaya at gmail.com>:

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

----------
assignee: docs at python
components: Documentation
messages: 131791
nosy: docs at python, santa4nt
priority: normal
severity: normal
status: open
title: Documentation for *Config functions in logging module should be in logging.config
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11639>
_______________________________________


More information about the Python-bugs-list mailing list