Skip to content

Commit af8728d

Browse files
committed
Typo fix for docstring.
1 parent 165a573 commit af8728d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/_py_warnings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
# Normally '_wm' is sys.modules['warnings'] but for unit tests it can be
1414
# a different module. User code is allowed to reassign global attributes
1515
# of the 'warnings' module, commonly 'filters' or 'showwarning'. So we
16-
# need to lookup these global attributes dynamically on the '_wn' object,
16+
# need to lookup these global attributes dynamically on the '_wm' object,
1717
# rather than binding them earlier. The code in this module consistently uses
18-
# '_wn.<something>' rather than using the globals of this module. If the
18+
# '_wm.<something>' rather than using the globals of this module. If the
1919
# '_warnings' C extension is in use, some globals are replaced by functions
2020
# and variables defined in that extension.
2121
_wm = None

0 commit comments

Comments
 (0)