(self, number)
return self._extended_message._extensions_by_number.get(number, None)
Tries to find a known extension with the field number.

    Args:
      number: Extension field number.

    Returns:
      Extension field descriptor.
Tries to find a known extension with the field number.
Tries to find a known extension with the field number .
def _FindExtensionByNumber(self, number):
    """Tries to find a known extension with the field number.

    Args:
      number: Extension field number.

    Returns:
      Extension field descriptor.
    """
    return self._extended_message._extensions_by_number.get(number, None)
def _FindExtensionByNumber ( self , number ) : return self . _extended_message . _extensions_by_number . get ( number , None )