mirror of
https://github.com/hakril/PythonForWindows
synced 2026-06-08 14:31:45 +00:00
Flag repr does not print long 'L' at the end of hex value
This commit is contained in:
@@ -12,7 +12,7 @@ class Flag(long):
|
||||
self.name = name
|
||||
|
||||
def __repr__(self):
|
||||
return "{0}({1})".format(self.name, hex(self))
|
||||
return "{0}({1:#x})".format(self.name, self)
|
||||
|
||||
__str__ = __repr__
|
||||
|
||||
|
||||
Reference in New Issue
Block a user