Update __init__.py

A little optimization: Now, don't need to import "sys" and will also work if Skimage imported from a byte-compilled Python distribution.
This commit is contained in:
JGoutin
2015-10-09 13:38:03 +02:00
parent d43351c578
commit bf9eb6c8de
+1 -2
View File
@@ -10,7 +10,6 @@ from .collection import *
from ._io import *
from ._image_stack import *
import sys
reset_plugins()
@@ -59,5 +58,5 @@ def _update_doc(doc):
return doc
if sys.flags.optimize < 2:
if __doc__ is not None:
__doc__ = _update_doc(__doc__)