Closed tomato42 closed 6 years ago
https://github.com/ansasaki/symbol_version/blob/f441d3446bcb325df9a3ae440313d30da2646952/scripts/symbol_version.py#L1231-L1241
magic methods like __str__ in general should not be called directly, in this case either
__str__
sys.stdout.write(str(new_map))
or even
print(new_map)
should be sufficient
https://github.com/ansasaki/symbol_version/blob/f441d3446bcb325df9a3ae440313d30da2646952/scripts/symbol_version.py#L1231-L1241
magic methods like
__str__
in general should not be called directly, in this case eitheror even
should be sufficient