Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion python/pyspark/mllib/random.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
__all__ = ['RandomRDDs', ]


class RandomRDDs:
class RandomRDDs(object):
"""
Generator methods for creating RDDs comprised of i.i.d samples from
some distribution.
Expand Down
2 changes: 1 addition & 1 deletion python/pyspark/mllib/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
from pyspark.serializers import NoOpSerializer


class MLUtils:
class MLUtils(object):

"""
Helper methods to load, save and pre-process data used in MLlib.
Expand Down
2 changes: 1 addition & 1 deletion python/pyspark/sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ def __reduce__(self):
return Row


class SQLContext:
class SQLContext(object):

"""Main entry point for SparkSQL functionality.

Expand Down
2 changes: 1 addition & 1 deletion python/pyspark/storagelevel.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
__all__ = ["StorageLevel"]


class StorageLevel:
class StorageLevel(object):

"""
Flags for controlling the storage of an RDD. Each StorageLevel records whether to use memory,
Expand Down