parameters: (self)
return_statement: return int(line.split()[0])
docstring: Get the transmit power in dBm.
docstring_summary: Get the transmit power in dBm.
docstring_tokens: Get the transmit power in dBm .
function: def get_txpower(self) -> int:
          """Get the transmit power in dBm."""
          line = self.__parse_str(self.execute_command('txpower'))
          if not line.endswith(' dBm'):
              raise UnexpectedCommandOutput([line])
  
          return int(line.split()[0])
function_tokens: def get_txpower ( self ) -> int : line = self . __parse_str ( self . execute_command ( 'txpower' ) ) if not line . endswith ( ' dBm' ) : raise UnexpectedCommandOutput ( [ line ] ) return int ( line . split ( ) [ 0 ] )