[Python-checkins] cpython: Remove old-school inheritance

antoine.pitrou python-checkins at python.org
Fri Sep 6 21:19:22 CEST 2013


http://hg.python.org/cpython/rev/cefb76baa331
changeset:   85578:cefb76baa331
user:        Antoine Pitrou <solipsis at pitrou.net>
date:        Fri Sep 06 21:18:25 2013 +0200
summary:
  Remove old-school inheritance

files:
  Lib/test/support/__init__.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/support/__init__.py b/Lib/test/support/__init__.py
--- a/Lib/test/support/__init__.py
+++ b/Lib/test/support/__init__.py
@@ -2063,7 +2063,7 @@
     setattr(object_to_patch, attr_name, new_value)
 
 
-class SuppressCoreFiles(object):
+class SuppressCoreFiles:
 
     """Try to prevent core files from being created."""
     old_limit = None

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list