Skip to content

Commit

Permalink
[SPARK-2470] wrap expression list in parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
nchammas committed Jul 21, 2014
1 parent e178dbe commit cba7768
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/pyspark/statcounter.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,5 +125,5 @@ def sampleStdev(self):
return math.sqrt(self.sampleVariance())

def __repr__(self):
return "(count: %s, mean: %s, stdev: %s, max: %s, min: %s)" %
(self.count(), self.mean(), self.stdev(), self.max(), self.min())
return ("(count: %s, mean: %s, stdev: %s, max: %s, min: %s)" %
(self.count(), self.mean(), self.stdev(), self.max(), self.min()))

0 comments on commit cba7768

Please sign in to comment.