New submission from Mariusz Felisiak <felisiak.mari...@gmail.com>:

Can we document[1] that `logging.getLevelName()` returns a numeric value when 
corresponding string is passed in (related with 
https://bugs.python.org/issue1008295). I know that we have "Changed in version 
3.4" annotation but I think it's worth mentioning in the main description.

I hope it's not a duplicate, I tried to find matching ticket. 

I can submit PR if accepted.

[1] 
https://docs.python.org/3.10/library/logging.html?highlight=getlevelname#logging.getLevelName

----------
components: Library (Lib)
messages: 387856
nosy: felixxm, vinay.sajip
priority: normal
severity: normal
status: open
title: Document that logging.getLevelName() can return a numeric value.

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43353>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to