Improve pyrepl type-annotation coverage (#119081)

This commit is contained in:
Alex Waygood 2024-05-17 06:13:24 -04:00 committed by GitHub
parent 100c7ab00a
commit 033f5c87f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 31 additions and 14 deletions

View file

@ -187,7 +187,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):