cpython/Tools/clinic
Erlend E. Aasland 63c945a3f5
[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 3372bcba98)
2023-07-22 17:44:11 +00:00
..
clinic.py [3.11] gh-106970: Fix Argument Clinic 'destination <name> clear' command (#106972) (#107059) 2023-07-22 17:44:11 +00:00
cpp.py bpo-40179: Fix translation of #elif in Argument Clinic (GH-19364) 2020-04-18 17:52:48 +03:00