Skip to content

Commit 3ad54c8

Browse files
authored
Update Lib/traceback.py
1 parent f702e79 commit 3ad54c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/traceback.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1667,7 +1667,7 @@ def print(self, *, file=None, chain=True, **kwargs):
16671667
# If is_raw is True, the suggestion is rendered as-is.
16681668
#
16691669
# See https://github.com/python/cpython/issues/146406.
1670-
_CROSS_LANGUAGE_HINTS = types.MappingProxyType({
1670+
_CROSS_LANGUAGE_HINTS = frozendict({
16711671
# list -- JavaScript/Ruby equivalents
16721672
(list, "push"): ("append", False),
16731673
(list, "concat"): ("extend", False),

0 commit comments

Comments
 (0)