diff options
Diffstat (limited to 'pyramid/decorator.py')
| -rw-r--r-- | pyramid/decorator.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyramid/decorator.py b/pyramid/decorator.py index e5f2996dc..0d17bc398 100644 --- a/pyramid/decorator.py +++ b/pyramid/decorator.py @@ -10,7 +10,7 @@ class reify(object): class Foo(object): @reify def jammy(self): - print 'jammy called' + print('jammy called') return 1 And usage of Foo: @@ -18,7 +18,7 @@ class reify(object): >>> f = Foo() >>> v = f.jammy 'jammy called' - >>> print v + >>> print(v) 1 >>> f.jammy 1 |
