Author: Brian Kearns <bdkea...@gmail.com> Branch: py3k Changeset: r62107:049d48fcc85f Date: 2013-03-05 16:11 -0500 http://bitbucket.org/pypy/pypy/changeset/049d48fcc85f/
Log: pep8 diff --git a/lib-python/3/datetime.py b/lib-python/3/datetime.py --- a/lib-python/3/datetime.py +++ b/lib-python/3/datetime.py @@ -476,7 +476,7 @@ def total_seconds(self): """Total seconds in the duration.""" - return ((self.days * 86400 + self.seconds)*10**6 + + return ((self.days * 86400 + self.seconds) * 10**6 + self.microseconds) / 10**6 # Read-only field accessors _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit