commit | 3372bcba9893030e4063a9264ec0b4d1b6166883 | [log] [tgz] |
---|---|---|
author | Erlend E. Aasland <erlend@python.org> | Sat Jul 22 09:43:13 2023 +0200 |
committer | GitHub <noreply@github.com> | Sat Jul 22 09:43:13 2023 +0200 |
tree | 37baf56be13826ef067374004c9c25d3d9b990e6 | |
parent | cdeb1a6caad5e3067f01d6058238803b8517f9de [diff] |
gh-106970: Fix Argument Clinic 'destination <name> clear' command (#106972) 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().