mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
* logging: Add logging.Logger().fatal() fatal() is an alias for critical(): It is just another name for the same implementation. * logging: Fix logging.Logger().warn() warn() was an alias for warning(), but got deprecated with Python3. In Python2 warn() is just another name for the same method. In Python3 they have their own implementations, which adds a deprecation warning before calling the new function. PS: LoggerAdapter in Python2 never has the warn() method, but Python3 still implements the deprecation wrapper function.