MCPcopy Create free account
hub / github.com/SecurityInnovation/PGPy / __init__

Method __init__

pgpy/pgp.py:789–798  ·  view source on GitHub ↗

PGPUID objects represent User IDs and User Attributes for keys. PGPUID implements the ``__format__`` method for User IDs, returning a string in the format 'name (comment) ', leaving out any comment or email fields that are not present.

(self)

Source from the content-addressed store, hash-verified

787 return uid
788
789 def __init__(self):
790 """
791 PGPUID objects represent User IDs and User Attributes for keys.
792
793 PGPUID implements the ``__format__`` method for User IDs, returning a string in the format
794 'name (comment) <email>', leaving out any comment or email fields that are not present.
795 """
796 super(PGPUID, self).__init__()
797 self._uid = None
798 self._signatures = SorteDeque()
799
800 def __repr__(self):
801 if self.selfsig is not None:

Callers 4

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls 1

SorteDequeClass · 0.85

Tested by

no test coverage detected