Issue #25523: Further a-to-an corrections new in 3.5

This commit is contained in:
Martin Panter 2015-11-02 04:20:33 +00:00
parent 2eb819f7a8
commit d2ad5718ad
8 changed files with 10 additions and 10 deletions

View file

@ -34,7 +34,7 @@ def _int_to_enum(value, enum_klass):
def _enum_to_int(value):
"""Convert an IntEnum member to a numeric value.
If it's not a IntEnum member return the value itself.
If it's not an IntEnum member return the value itself.
"""
try:
return int(value)