mirror of https://github.com/python/cpython
gh-120157: Remove unused code in concurrent.future (gh-120187)
This commit is contained in:
parent
5c115567b1
commit
bd826b9c77
|
@ -23,14 +23,6 @@ CANCELLED = 'CANCELLED'
|
||||||
CANCELLED_AND_NOTIFIED = 'CANCELLED_AND_NOTIFIED'
|
CANCELLED_AND_NOTIFIED = 'CANCELLED_AND_NOTIFIED'
|
||||||
FINISHED = 'FINISHED'
|
FINISHED = 'FINISHED'
|
||||||
|
|
||||||
_FUTURE_STATES = [
|
|
||||||
PENDING,
|
|
||||||
RUNNING,
|
|
||||||
CANCELLED,
|
|
||||||
CANCELLED_AND_NOTIFIED,
|
|
||||||
FINISHED
|
|
||||||
]
|
|
||||||
|
|
||||||
_STATE_TO_DESCRIPTION_MAP = {
|
_STATE_TO_DESCRIPTION_MAP = {
|
||||||
PENDING: "pending",
|
PENDING: "pending",
|
||||||
RUNNING: "running",
|
RUNNING: "running",
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Remove unused constant ``concurrent.futures._base._FUTURE_STATES`` in :mod:`concurrent.futures`. Patch by Clinton Christian (pygeek).
|
Loading…
Reference in New Issue