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
No known key found for this signature in database
GPG key ID: 66B24B9050FDD0B8

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