mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-06 10:07:41 +07:00
PY-19716 Fixed: logger.exception() without arguments doesn't show a warning Skeleton for logging.getLogger was accidentally pushed to primary python-skeletons repo and then was synced with current repo. So there is no skeleton in affected files but tests are based on it. At first logger.getLogger returned union of Logger and RootLogger. RootLogger just inherits Logger and doesn't introduce any additional functionality. But there was a problem with PyArgumentListInspection which doesn't work in case of many callees (e.g. logger.exception). So skeleton was updated to return only logger from logging.getLogger.
12 lines
163 B
Python
12 lines
163 B
Python
"""Skeleton for 'logging' stdlib module."""
|
|
|
|
import logging
|
|
|
|
|
|
def getLogger(name=None):
|
|
"""
|
|
:type name: string
|
|
:rtype: logging.Logger
|
|
"""
|
|
pass
|