Adjust inheritance so that the MRO is clear for the chain of keys

This commit is contained in:
Alex Stokes 2019-08-14 09:30:23 -07:00
parent 3b19104284
commit 125c5d8e2c
No known key found for this signature in database
GPG Key ID: 51CE1721B245C086

View File

@ -33,7 +33,7 @@ class Key(ABC):
...
class PublicKey(ABC, Key):
class PublicKey(Key):
"""
A ``PublicKey`` represents a cryptographic public key.
"""
@ -54,7 +54,7 @@ class PublicKey(ABC, Key):
return protobuf_key
class PrivateKey(ABC, Key):
class PrivateKey(Key):
"""
A ``PrivateKey`` represents a cryptographic private key.
"""