We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3da40df commit a69b89aCopy full SHA for a69b89a
completion.py
@@ -13,7 +13,9 @@ def branches_from_peps() -> list[str]:
13
resp = urllib3.request('GET', 'https://peps.python.org/api/release-cycle.json')
14
data = json.loads(resp.data)
15
return [
16
- branch for branch in data if data[branch]['status'] in ('bugfix', 'security')
+ branch
17
+ for branch, metadata in data.items()
18
+ if metadata['status'] in ('prerelease', 'bugfix', 'security')
19
]
20
21
0 commit comments