chiark
/
gitweb
/
~mdw
/
catacomb-python
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
catacomb/__init__.py: Use `%#x' rather than `hex' now.
[catacomb-python]
/
catacomb
/
__init__.py
diff --git
a/catacomb/__init__.py
b/catacomb/__init__.py
index 4c225e7ab2645f52b79d8b657c1b39d84e33f370..43d74d9a7bd7612d0ef1028a38b61b19d6e966ac 100644
(file)
--- a/
catacomb/__init__.py
+++ b/
catacomb/__init__.py
@@
-229,7
+229,7
@@
class _tmp:
_augment(PrimeField, _tmp)
class _tmp:
_augment(PrimeField, _tmp)
class _tmp:
- def __repr__(me): return '%s(%
sL)' % (type(me).__name__, hex(me.p)
)
+ def __repr__(me): return '%s(%
#xL)' % (type(me).__name__, me.p
)
def ec(me, a, b): return ECBinProjCurve(me, a, b)
_augment(BinField, _tmp)
def ec(me, a, b): return ECBinProjCurve(me, a, b)
_augment(BinField, _tmp)