Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
wip
  • Loading branch information
AlexWaygood committed Apr 23, 2024
commit e4b29893e611f0bd2b36dadcc5ce808e76d61d34
2 changes: 1 addition & 1 deletion Lib/inspect.py
Original file line number Diff line number Diff line change
Expand Up @@ -1850,7 +1850,7 @@ def _shadowed_dict_from_weakref_mro_tuple(weakref_mro):

def _shadowed_dict(klass):
return _shadowed_dict_from_weakref_mro_tuple(
tuple(map(weakref.ref, _static_getmro(klass)))
tuple([weakref.ref(entry) for entry in _static_getmro(klass)])
)


Expand Down