X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/catacomb-python/blobdiff_plain/d35f9a17d34ae5a48b6477f80370278580ec6a1e..c968103a2e2fe9f34cb6af04208efc9883eab361:/catacomb/__init__.py?ds=inline diff --git a/catacomb/__init__.py b/catacomb/__init__.py index 4c225e7..43d74d9 100644 --- a/catacomb/__init__.py +++ b/catacomb/__init__.py @@ -229,7 +229,7 @@ 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)