File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -661,8 +661,8 @@ depending on the value of the flag. When *record* is true and the flag is
661661false, the context manager works by replacing and then later restoring the
662662module's :func: `showwarning ` function. That is not concurrent-safe.
663663
664- When *record * is true and the flag is false , the :func: `showwarning ` function
665- is not replaced. The recording status is instead indicated by an internal
664+ When *record * is true and the flag is true , the :func: `showwarning ` function
665+ is not replaced. Instead, the recording status is indicated by an internal
666666property in the context variable. In this case, the :func: `showwarning `
667667function will not be restored when exiting the context handler.
668668
You can’t perform that action at this time.
0 commit comments