Skip to content

Commit

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

(cherry picked from commit 47579c8)
  • Loading branch information
aaronliu0130 authored and github-actions[bot] committed Feb 1, 2025
1 parent bbd73ce commit 8c2f2d6
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 8c2f2d6

Please sign in to comment.