def getmethattr(obj, meth):
  if hasmethod(obj, meth):
    return getattr(obj, meth)()
  elif hasvar(obj, meth):
    return getattr(obj, meth)
  return None
Schedule a new XMPP c2s connection.
dataset/ETHPy150Open nikcub/floyd/floyd/util/object.py/getmethattr--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python3-alpha/python-libs/pyxmpp2/client.py/Client.connect