mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Closes #21752: Merged update from 3.4.
This commit is contained in:
commit
21ceada492
1 changed files with 5 additions and 0 deletions
|
@ -1049,6 +1049,11 @@ functions.
|
||||||
of the defined levels is passed in, the corresponding string representation is
|
of the defined levels is passed in, the corresponding string representation is
|
||||||
returned. Otherwise, the string 'Level %s' % lvl is returned.
|
returned. Otherwise, the string 'Level %s' % lvl is returned.
|
||||||
|
|
||||||
|
.. versionchanged:: 3.4
|
||||||
|
In Python versions earlier than 3.4, this function could also be passed a
|
||||||
|
text level, and would return the corresponding numeric value of the level.
|
||||||
|
This undocumented behaviour was a mistake, and has been removed in Python
|
||||||
|
3.4.
|
||||||
|
|
||||||
.. function:: makeLogRecord(attrdict)
|
.. function:: makeLogRecord(attrdict)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue