Skip to content

Commit 2f7297c

Browse files
Fix getframeinfo TypeError, add NEWS entry
1 parent 1c831c3 commit 2f7297c

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

Lib/test/test_inspect/test_inspect.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@
2828
import unittest.mock
2929
import warnings
3030
import weakref
31-
import inspect
32-
import sys
3331
import unittest
3432

3533

Misc/NEWS.d/next/139531.bpo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
bpo-139531: Fixed TypeError in inspect.getframeinfo when lineno is None in exception groups.
1+
Fix TypeError in inspect.getframeinfo when lineno is None (#139535, gh-139531)

Misc/mypy/_colorize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../../Lib/_colorize.py
1+
../../Lib/_colorize.py

Misc/mypy/token.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../../Lib/token.py
1+
../../Lib/token.py

0 commit comments

Comments
 (0)