Skip to content

Commit 0c30a27

Browse files
committed
Add both bin and show_flag_values to __all__
1 parent 2413ca5 commit 0c30a27

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Lib/enum.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
'global_flag_repr', 'global_enum_repr', 'global_str', 'global_enum',
1212
'EnumCheck', 'CONTINUOUS', 'NAMED_FLAGS', 'UNIQUE',
1313
'pickle_by_global_name', 'pickle_by_enum_name', 'show_flag_values',
14+
'bin',
1415
]
1516

1617

Lib/test/test_enum.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5324,7 +5324,7 @@ def __new__(cls, value, label):
53245324
class MiscTestCase(unittest.TestCase):
53255325

53265326
def test__all__(self):
5327-
support.check__all__(self, enum, not_exported={'bin', 'show_flag_values'})
5327+
support.check__all__(self, enum)
53285328

53295329
@cpython_only
53305330
def test_lazy_import(self):

0 commit comments

Comments
 (0)