diff options
author | Erlend E. Aasland <erlend@python.org> | 2023-07-22 17:44:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-22 17:44:11 (GMT) |
commit | 63c945a3f540a30288f21cb730a9da8bd4bf0ab6 (patch) | |
tree | 0122a0782503d305c447ca9288c8c731dcca2eb5 /Lib/pydoc.py | |
parent | b71144193b5e7aec022a946a2e36f902280d7c30 (diff) | |
download | cpython-63c945a3f540a30288f21cb730a9da8bd4bf0ab6.zip cpython-63c945a3f540a30288f21cb730a9da8bd4bf0ab6.tar.gz cpython-63c945a3f540a30288f21cb730a9da8bd4bf0ab6.tar.bz2 |
[3.11] gh-106970: Fix Argument Clinic 'destination <name> clear' command (#106972) (#107059)
Add test for the 'destination <name> clear' command,
and the 'destination' directive in general.
Fix two bugs in 'destination <name> clear' command:
1. The text attribute of the allocator is called 'text', not '_text'
2. Return after processing the 'clear' command,
instead of proceeding directly to the fail().
(cherry picked from commit 3372bcba9893030e4063a9264ec0b4d1b6166883)
Diffstat (limited to 'Lib/pydoc.py')
0 files changed, 0 insertions, 0 deletions