summaryrefslogtreecommitdiff
path: root/third_party/pep8/testsuite/python3.py
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/pep8/testsuite/python3.py')
-rw-r--r--third_party/pep8/testsuite/python3.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/third_party/pep8/testsuite/python3.py b/third_party/pep8/testsuite/python3.py
new file mode 100644
index 00000000000..888188006f6
--- /dev/null
+++ b/third_party/pep8/testsuite/python3.py
@@ -0,0 +1,6 @@
+#!/usr/bin/env python3
+
+
+# Annotated function (Issue #29)
+def foo(x: int) -> int:
+ return x + 1