SIGN IN SIGN UP

[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)
E
Erlend E. Aasland committed
63c945a3f540a30288f21cb730a9da8bd4bf0ab6
Parent: b711441
Committed by GitHub <noreply@github.com> on 7/22/2023, 5:44:11 PM