Skip to content

Commit

Permalink
Undeprecate getopt (#10213) (#10214)
Browse files Browse the repository at this point in the history
Upstream undeprecated it in December (python/cpython#126227)

(cherry picked from commit 47579c8)

Co-authored-by: Aaron Liu <[email protected]>
  • Loading branch information
github-actions[bot] and aaronliu0130 authored Feb 1, 2025
1 parent bbd73ce commit a3f9b7c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions doc/whatsnew/fragments/10211.false_positive
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Remove `getopt` from the list of deprecated modules.

Closes #10211
1 change: 0 additions & 1 deletion pylint/checkers/imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@
"uu",
"xdrlib",
},
(3, 13, 0): {"getopt"},
}


Expand Down

0 comments on commit a3f9b7c

Please sign in to comment.