diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2014-03-21 20:20:47 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2014-03-26 20:43:51 -0600 |
commit | ef951bd3ab00fff4ffcfcf8707a9509cb3796b4b (patch) | |
tree | 20135c4519d5ea35fef4f5a066b6b5dda1a6623b /numpy/polynomial | |
parent | 5407a95d2b55567dbae43f96e06744425f4eea1e (diff) | |
download | numpy-ef951bd3ab00fff4ffcfcf8707a9509cb3796b4b.tar.gz |
DEP: Deprecate the numpy/polnomial/polytemplate.py module.
Make the version of its removal Numpy 1.10.0.
Diffstat (limited to 'numpy/polynomial')
-rw-r--r-- | numpy/polynomial/polytemplate.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/numpy/polynomial/polytemplate.py b/numpy/polynomial/polytemplate.py index f315915d6..eeacf24fb 100644 --- a/numpy/polynomial/polytemplate.py +++ b/numpy/polynomial/polytemplate.py @@ -13,6 +13,12 @@ from __future__ import division, absolute_import, print_function import string import sys +import warnings + +from numpy import ModuleDeprecationWarning + +warnings.warn("The polytemplate module will be removed in Numpy 1.10.0.", + ModuleDeprecationWarning) polytemplate = string.Template(''' from __future__ import division, absolute_import, print_function |