Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit94ce344

Browse files
committed
gh-120157: Remove unused code in concurrent.future
1 parent14e1506 commit94ce344

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

‎Lib/concurrent/futures/_base.py‎

Lines changed: 0 additions & 8 deletions
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",
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Remove unused constant:obj:`concurrent.futures._base._FUTURE_STATES` in:mod:`concurrent.futures._base`. Patch by Clinton Christian (pygeek).

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp