Implement __repr__ instead of __str__ for _NumericField
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 23 Nov 2017 19:41:25 +0000 (14:41 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 23 Nov 2017 20:16:42 +0000 (15:16 -0500)
__repr__ provides a generic fallback for __str__ and, in the
case of IntegerFields the representation is both human readable
and unambiguous.

Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Reviewed-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>

No differences found
This page took 0.026266 seconds and 4 git commands to generate.