(self, oid, name)
Register a translation from a name to an OID.

        Corresponds to XXX(1) and XXX(2) in the summary listing.
Register a translation from a name to an OID.
Register a translation from a name to an OID .
def register(self, oid, name):
        # type: (OID, str) -> None
        """Register a translation from a name to an OID.

        Corresponds to XXX(1) and XXX(2) in the summary listing.
        """
        self._resolver.set(oid.as_tuple(), name)
def register ( self , oid , name ) : # type: (OID, str) -> None self . _resolver . set ( oid . as_tuple ( ) , name )