Skip to content

Commit 4aadab6

Browse files
committed
update other old-style classes
1 parent a2dc02f commit 4aadab6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

python/pyspark/mllib/random.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
__all__ = ['RandomRDDs', ]
2929

3030

31-
class RandomRDDs:
31+
class RandomRDDs(object):
3232
"""
3333
Generator methods for creating RDDs comprised of i.i.d samples from
3434
some distribution.

python/pyspark/mllib/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
from pyspark.serializers import NoOpSerializer
2626

2727

28-
class MLUtils:
28+
class MLUtils(object):
2929

3030
"""
3131
Helper methods to load, save and pre-process data used in MLlib.

python/pyspark/storagelevel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
__all__ = ["StorageLevel"]
1919

2020

21-
class StorageLevel:
21+
class StorageLevel(object):
2222

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

0 commit comments

Comments
 (0)