diff options
author | Thomas Miedema <thomasmiedema@gmail.com> | 2022-05-02 22:29:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-02 22:29:03 (GMT) |
commit | 5e9323a54724079796688425dd32f2683f81b56f (patch) | |
tree | 472f634a846bfe2f3f0a45b215d0db3c0a702d6e /Lib/logging | |
parent | 2d30adee72317e569d24739243cdd6f7631fa68f (diff) | |
download | cpython-5e9323a54724079796688425dd32f2683f81b56f.zip cpython-5e9323a54724079796688425dd32f2683f81b56f.tar.gz cpython-5e9323a54724079796688425dd32f2683f81b56f.tar.bz2 |
Delete outdated comment in logging module (#31117)
The root logger is now accessible via its name, see
https://github.com/python/cpython/pull/15077
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Diffstat (limited to 'Lib/logging')
-rw-r--r-- | Lib/logging/__init__.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py index 432fefc..79e4b7d 100644 --- a/Lib/logging/__init__.py +++ b/Lib/logging/__init__.py @@ -1777,8 +1777,6 @@ class Logger(Filterer): return '<%s %s (%s)>' % (self.__class__.__name__, self.name, level) def __reduce__(self): - # In general, only the root logger will not be accessible via its name. - # However, the root logger's class has its own __reduce__ method. if getLogger(self.name) is not self: import pickle raise pickle.PicklingError('logger cannot be pickled') |