def load_ipython_extension(ip):
 warnings.warn('The rmagic extension in IPython has moved to `rpy2.ipython`, please see `rpy2` documentation.')

def load_ipython_extension ( ip ) : warnings . warn ( 'The rmagic extension in IPython has moved to `rpy2.ipython`, please see `rpy2` documentation.' )
this is called to load the module as an ipython extension .