mirror of
https://github.com/wassname/scikit-image.git
synced 2026-09-09 11:33:41 +08:00
BUG: Fix imports for Python 3.2.
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
__all__ = ['hough', 'probabilistic_hough']
|
||||
|
||||
from itertools import izip
|
||||
try:
|
||||
from itertools import izip
|
||||
except ImportError:
|
||||
izip = zip
|
||||
|
||||
import numpy as np
|
||||
from ._hough_transform import _probabilistic_hough
|
||||
|
||||
|
||||
Reference in New Issue
Block a user