Skip to content

Commit e51db75

Browse files
committed
[GR-11266] Revert enum.py patch
PullRequest: graalpython/160
2 parents 412c22c + af314e4 commit e51db75

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

graalpython/lib-python/3/enum.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -340,9 +340,7 @@ def __members__(cls):
340340
is a read-only view of the internal mapping.
341341
342342
"""
343-
# Truffle change
344-
# return MappingProxyType(cls._member_map_)
345-
return dict(cls._member_map_)
343+
return MappingProxyType(cls._member_map_)
346344

347345
def __repr__(cls):
348346
return "<enum %r>" % cls.__name__

0 commit comments

Comments
 (0)