[3.13] Improve pyrepl type-annotation coverage (GH-119081) (#119415)

(cherry picked from commit 033f5c87f1)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
Miss Islington (bot) 2024-05-22 20:38:32 +02:00 committed by GitHub
parent bfd9c3ea53
commit cd39da75af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 31 additions and 14 deletions

View file

@ -190,7 +190,7 @@ def _parse_key1(key, s):
return ret, s
def parse_keys(key):
def parse_keys(key: str) -> list[str]:
s = 0
r = []
while s < len(key):