mirror of
https://github.com/python/cpython.git
synced 2025-09-14 04:37:29 +00:00
[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:
parent
bfd9c3ea53
commit
cd39da75af
6 changed files with 31 additions and 14 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue