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 94de86aeb8
commit 835df4b2e4

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