Skip to content

Commit

Permalink
Use python2 compatible metaclass syntax for ABCMeta based class
Browse files Browse the repository at this point in the history
  • Loading branch information
utzig authored and pipermerriam committed Apr 4, 2017
1 parent b014fc9 commit a8cd318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rlp/utils_py3.py
Expand Up @@ -3,7 +3,7 @@
from math import ceil


class Atomic(metaclass = abc.ABCMeta):
class Atomic(type.__new__(abc.ABCMeta, 'metaclass', (), {})):
"""ABC for objects that can be RLP encoded as is."""
pass

Expand Down

0 comments on commit a8cd318

Please sign in to comment.