mirror of
https://github.com/romanz/amodem.git
synced 2026-03-31 08:06:50 +08:00
Don't inheric from 'object' (after deprecating Python 2.x support)
This commit is contained in:
@@ -185,7 +185,7 @@ def get_curve_name_by_oid(oid):
|
||||
raise KeyError('Unknown OID: {!r}'.format(oid))
|
||||
|
||||
|
||||
class PublicKey(object):
|
||||
class PublicKey:
|
||||
"""GPG representation for public key packets."""
|
||||
|
||||
def __init__(self, curve_name, created, verifying_key, ecdh=False):
|
||||
|
||||
Reference in New Issue
Block a user