diff options
Diffstat (limited to 'rpki/rtr/channels.py')
-rw-r--r-- | rpki/rtr/channels.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rpki/rtr/channels.py b/rpki/rtr/channels.py index 53295900..2b1ea406 100644 --- a/rpki/rtr/channels.py +++ b/rpki/rtr/channels.py @@ -37,8 +37,7 @@ class Timestamp(int): """ def __new__(cls, t): - # http://stackoverflow.com/questions/7471255/pythons-super-and-new-confused-me - #return int.__new__(cls, t) + # __new__() is a static method, not a class method, hence the odd calling sequence. return super(Timestamp, cls).__new__(cls, t) @classmethod |