parallelmagic.py
20 lines
| 617 B
| text/x-python
|
PythonLexer
Brian Granger
|
r2312 | # encoding: utf-8 | ||
Pauli Virtanen
|
r4888 | """ | ||
============= | ||||
parallelmagic | ||||
============= | ||||
MinRK
|
r7473 | Deprecated, parallel magics are no longer an extension. | ||
Pauli Virtanen
|
r4888 | """ | ||
Brian Granger
|
r2312 | |||
#----------------------------------------------------------------------------- | ||||
Fernando Perez
|
r6955 | # Copyright (C) 2008 The IPython Development Team | ||
Brian Granger
|
r2312 | # | ||
# Distributed under the terms of the BSD License. The full license is in | ||||
# the file COPYING, distributed as part of this software. | ||||
#----------------------------------------------------------------------------- | ||||
MinRK
|
r7473 | from warnings import warn | ||
Brian Granger
|
r2312 | |||
def load_ipython_extension(ip): | ||||
MinRK
|
r7473 | warn("Parallel Magics are no longer defined in an extension", DeprecationWarning) | ||