-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
[MRG+1] remove __future__ imports #12791
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
Changes from all commits
c35f8a9
727f829
4f29f14
c2ebadd
718fe8c
5c8ce08
3057eb7
5389b00
02a4a16
679765a
fd8db5e
2187c9b
5067333
dc59c9d
b5d2497
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
from __future__ import print_function, division | ||
from time import time | ||
import argparse | ||
import numpy as np | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
from __future__ import print_function | ||
|
||
from collections import defaultdict | ||
from time import time | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,6 @@ | |
# Anthony Di Franco (projected gradient, Python and NumPy port) | ||
# License: BSD 3 clause | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. unnecessary whiteline? |
||
from __future__ import print_function | ||
from time import time | ||
import sys | ||
import warnings | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,6 @@ | |
# All configuration values have a default; values that are commented out | ||
# serve to show the default. | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. unnecessary whiteline? |
||
from __future__ import print_function | ||
import sys | ||
import os | ||
import warnings | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,6 @@ class :class:`sklearn.linear_model.Lasso`, that uses the coordinate descent | |
the circular artifact separating the pixels in the corners, that have | ||
contributed to fewer projections than the central disk. | ||
""" | ||
from __future__ import division | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. unnecessary whiteline? |
||
print(__doc__) | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,7 +61,6 @@ | |
# | ||
# License: BSD 3 clause | ||
|
||
from __future__ import division, print_function | ||
|
||
import numpy as np | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,6 @@ | |
# License: BSD 3 clause | ||
|
||
|
||
from __future__ import division | ||
import time | ||
|
||
import numpy as np | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unnecessary whiteline?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Man !