summaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
authorMichele Simionato <michele.simionato@gmail.com>2011-01-01 09:16:53 +0100
committerMichele Simionato <michele.simionato@gmail.com>2011-01-01 09:16:53 +0100
commitef9e13545a960aecf62d529da7d74cd2d39ec579 (patch)
tree14ccf6f4a0929417abb2b73500f2bcbfa4579d67 /test.py
parenta9d773f5580bd2975c68e09d2731014ba4b8f281 (diff)
downloadpython-decorator-git-ef9e13545a960aecf62d529da7d74cd2d39ec579.tar.gz
Added support for function annotations
Diffstat (limited to 'test.py')
-rw-r--r--test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test.py b/test.py
index b21fe4d..6c24b15 100644
--- a/test.py
+++ b/test.py
@@ -16,9 +16,9 @@ def f1():
def test0():
assert os.path.basename(identity.func_globals['__file__']) == 'test.py'
- print identity.__doc__
+ print(identity.__doc__)
def test1():
assert os.path.basename(f1.func_globals['__file__']) == 'test.py'
- print f1.__doc__
+ print(f1.__doc__)