mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
The stdlib accepts any value here as long as it is castable to a string: https://github.com/python/cpython/blob/3.6/Lib/logging/__init__.py#L336 https://github.com/python/cpython/blob/2.7/Lib/logging/__init__.py#L319-L330 Ideally this would use Protocols but I don't see them in use in typeshed yet.