diff --git a/python/pyspark/__init__.py b/python/pyspark/__init__.py index ac55fcdc2057b..c58555fc9d2c5 100644 --- a/python/pyspark/__init__.py +++ b/python/pyspark/__init__.py @@ -53,8 +53,7 @@ # mllib that depend on top level pyspark packages, which transitively depend on python's random. # Since Python's import logic looks for modules in the current package first, we eliminate # mllib.random as a candidate for C{import random} by removing the first search path, the script's -# location, in order to force the loader to look in Python's top-level -# modules for C{random}. +# location, in order to force the loader to look in Python's top-level modules for C{random}. import sys s = sys.path.pop(0) import random