Logo
Explore Help
Sign In
VimPlug/typeshed
Watch 1
Star 0
Fork 0
mirror of https://github.com/davidhalter/typeshed.git synced 2026-08-23 00:06:49 +08:00
Code Issues Actions Packages Projects Releases Wiki Activity
Files
feeb4e71ef16932153a06fc26ce7a02ffdbaa2ab
typeshed/stdlib/2and3/logging
T
History
Roy Williams 52c02a2364 Allow Any type to be acceptable for the msg parameter in `logging.{info, warn, error, ...} (#1776)
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.
2018-06-11 16:10:31 -07:00
..
__init__.pyi
Allow Any type to be acceptable for the msg parameter in `logging.{info, warn, error, ...} (#1776)
2018-06-11 16:10:31 -07:00
config.pyi
fixes to logging stubs (#1302)
2017-05-23 12:43:49 -07:00
handlers.pyi
RotatingFileHandler has a terminator property (#1952)
2018-03-25 08:11:01 -07:00
Powered by Gitea Version: 1.27.2 Page: 32ms Template: 2ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API