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)
| 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: |
no test coverage detected