code: def _inject_func(func, conn):
      
      name = func.__name__
      if not name in conn.namespace:
          if isbuiltin(func):
              inject_code = '%s = %s' % (name, name)
          elif isfunction(func):
              inject_code = getsource(func)
          conn.execute(inject_code)
      return conn.namespace[name]
docs: (internal) injects a function object into a RPyC connection object.