Skip to content

Commit bd826b9

Browse files
authored
gh-120157: Remove unused code in concurrent.future (gh-120187)
1 parent 5c11556 commit bd826b9

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

Lib/concurrent/futures/_base.py

-8
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,6 @@
2323
CANCELLED_AND_NOTIFIED = 'CANCELLED_AND_NOTIFIED'
2424
FINISHED = 'FINISHED'
2525

26-
_FUTURE_STATES = [
27-
PENDING,
28-
RUNNING,
29-
CANCELLED,
30-
CANCELLED_AND_NOTIFIED,
31-
FINISHED
32-
]
33-
3426
_STATE_TO_DESCRIPTION_MAP = {
3527
PENDING: "pending",
3628
RUNNING: "running",
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Remove unused constant ``concurrent.futures._base._FUTURE_STATES`` in :mod:`concurrent.futures`. Patch by Clinton Christian (pygeek).

0 commit comments

Comments
 (0)