code: def endActivity(activity):
      """end a process activity assertion"""
      NSProcessInfo = C("NSProcessInfo")
      objc.objc_msgSend.argtypes = [void_p, void_p]
      info = msg(NSProcessInfo, n("processInfo"))
      objc.objc_msgSend.argtypes = [void_p, void_p, void_p]
      msg(info, n("endActivity:"), void_p(activity))
  
file_path: catboost/contrib/python/appnope/py3/appnope/_nope.py
imports: from contextlib import contextmanager
  import ctypes
  import ctypes.util
label_desc: Use image node_id 5 for calling a global function with example usage: endActivity(activity) without return types