mirror of
https://github.com/idapython/src
synced 2026-06-08 14:47:00 +00:00
Merge pull request #22 from disconnect3d/patch-1
Simplifies _print_hex method
This commit is contained in:
@@ -753,8 +753,7 @@ class IDAPython_displayhook:
|
||||
storage.append(str(item))
|
||||
|
||||
def _print_hex(self, x):
|
||||
s = hex(x)
|
||||
return s[0:-1] if s.endswith("L") else s
|
||||
return hex(x)
|
||||
|
||||
def displayhook(self, item):
|
||||
if item is None or type(item) is bool:
|
||||
|
||||
Reference in New Issue
Block a user