syaml_int type should use int.__repr__ rather than str.__repr__ (#13487)
This commit is contained in:

committed by
Todd Gamblin

parent
e29a6c532c
commit
c99d367a11
@@ -47,7 +47,7 @@ class syaml_str(str):
|
|||||||
|
|
||||||
|
|
||||||
class syaml_int(int):
|
class syaml_int(int):
|
||||||
__repr__ = str.__repr__
|
__repr__ = int.__repr__
|
||||||
|
|
||||||
|
|
||||||
#: mapping from syaml type -> primitive type
|
#: mapping from syaml type -> primitive type
|
||||||
|
Reference in New Issue
Block a user