syaml_int type should use int.__repr__ rather than str.__repr__ (#13487)

This commit is contained in:
Peter Scheibel 2019-10-29 13:51:48 -07:00 committed by Todd Gamblin
parent e29a6c532c
commit c99d367a11

View file

@ -47,7 +47,7 @@ class syaml_str(str):
class syaml_int(int):
__repr__ = str.__repr__
__repr__ = int.__repr__
#: mapping from syaml type -> primitive type