8000 Pep8 numpy polynomial by charris · Pull Request #4924 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

Pep8 numpy polynomial #4924

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Aug 4, 2014
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
MAINT: Remove unused variables and imports in numpy/polynomial/*.py.
Detected by pyflakes.
  • Loading branch information
charris committed Jul 30, 2014
commit daf9335f0a2cae53735dd12061e6b9c396dc57b1
2 changes: 0 additions & 2 deletions numpy/polynomial/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
"""
from __future__ import division, absolute_import, print_function

import warnings

from .polynomial import Polynomial
from .chebyshev import Chebyshev
from .legendre import Legendre
Expand Down
1 change: 0 additions & 1 deletion numpy/polynomial/hermite.py
Original file line number Diff line number Diff line change
Expand Up @@ -1568,7 +1568,6 @@ def hermcompanion(c):
.. versionadded::1.7.0

"""
accprod = np.multiply.accumulate
# c is a trimmed copy
[c] = pu.as_series([c])
if len(c) < 2:
Expand Down
1 change: 0 additions & 1 deletion numpy/polynomial/hermite_e.py
Original file line number Diff line number Diff line change
Expand Up @@ -1566,7 +1566,6 @@ def hermecompanion(c):
.. versionadded::1.7.0

"""
accprod = np.multiply.accumulate
# c is a trimmed copy
[c] = pu.as_series([c])
if len(c) < 2:
Expand Down
1 change: 0 additions & 1 deletion numpy/polynomial/laguerre.py
Original file line number Diff line number Diff line change
Expand Up @@ -1566,7 +1566,6 @@ def lagcompanion(c):
.. versionadded::1.7.0

"""
accprod = np.multiply.accumulate
# c is a trimmed copy
[c] = pu.as_series([c])
if len(c) < 2:
Expand Down
6 changes: 2 additions & 4 deletions numpy/polynomial/polyutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,12 @@
"""
from __future__ import division, absolute_import, print_function

import numpy as np

__all__ = [
'RankWarning', 'PolyError', 'PolyDomainError', 'as_series', 'trimseq',
'trimcoef', 'getdomain', 'mapdomain', 'mapparms', 'PolyBase']

import warnings
import numpy as np
import sys

#
# Warnings and Exceptions
#
Expand Down
0