Files
typeshed/stdlib/logging
Colin Watson 97ccd8985a Tighten annotation of logging.getLevelName (#12088)
To better reflect the implementation's behaviour,
https://github.com/python/typeshed/pull/2730 changed
`logging.getLevelName` to accept `int | str` and return `Any` (the
latter due to the need to avoid union return types).  However, this
isn't ideal if you're passing in an `int`, in which case the
implementation always returns a `str`.  Add overloads for this.
2024-06-04 10:16:53 +02:00
..