summaryrefslogtreecommitdiff
path: root/test/input/func_w0231.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/input/func_w0231.py')
-rw-r--r--test/input/func_w0231.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/input/func_w0231.py b/test/input/func_w0231.py
index 7c4cc02..eeefd0c 100644
--- a/test/input/func_w0231.py
+++ b/test/input/func_w0231.py
@@ -1,20 +1,20 @@
# pylint: disable=R0903
"""test for __init__ not called
"""
-
+from __future__ import print_function
__revision__ = '$Id: func_w0231.py,v 1.3 2004-09-29 08:35:13 syt Exp $'
class AAAA:
"""ancestor 1"""
def __init__(self):
- print 'init', self
+ print('init', self)
class BBBB:
"""ancestor 2"""
def __init__(self):
- print 'init', self
+ print('init', self)
class CCCC:
"""ancestor 3"""
@@ -30,7 +30,7 @@ class NewStyleA(object):
"""new style class"""
def __init__(self):
super(NewStyleA, self).__init__()
- print 'init', self
+ print('init', self)
class NewStyleB(NewStyleA):
"""derived new style class"""