Adjust inheritance so that the MRO is clear for the chain of keys
This commit is contained in:
parent
3b19104284
commit
125c5d8e2c
|
@ -33,7 +33,7 @@ class Key(ABC):
|
||||||
...
|
...
|
||||||
|
|
||||||
|
|
||||||
class PublicKey(ABC, Key):
|
class PublicKey(Key):
|
||||||
"""
|
"""
|
||||||
A ``PublicKey`` represents a cryptographic public key.
|
A ``PublicKey`` represents a cryptographic public key.
|
||||||
"""
|
"""
|
||||||
|
@ -54,7 +54,7 @@ class PublicKey(ABC, Key):
|
||||||
return protobuf_key
|
return protobuf_key
|
||||||
|
|
||||||
|
|
||||||
class PrivateKey(ABC, Key):
|
class PrivateKey(Key):
|
||||||
"""
|
"""
|
||||||
A ``PrivateKey`` represents a cryptographic private key.
|
A ``PrivateKey`` represents a cryptographic private key.
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user