aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/cython/Cython/Debugger/Tests/codefile
diff options
context:
space:
mode:
authorAnton Samokhvalov <pg83@yandex.ru>2022-02-10 16:45:15 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:15 +0300
commit72cb13b4aff9bc9cf22e49251bc8fd143f82538f (patch)
treeda2c34829458c7d4e74bdfbdf85dff449e9e7fb8 /contrib/tools/cython/Cython/Debugger/Tests/codefile
parent778e51ba091dc39e7b7fcab2b9cf4dbedfb6f2b5 (diff)
downloadydb-72cb13b4aff9bc9cf22e49251bc8fd143f82538f.tar.gz
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/tools/cython/Cython/Debugger/Tests/codefile')
-rw-r--r--contrib/tools/cython/Cython/Debugger/Tests/codefile94
1 files changed, 47 insertions, 47 deletions
diff --git a/contrib/tools/cython/Cython/Debugger/Tests/codefile b/contrib/tools/cython/Cython/Debugger/Tests/codefile
index 6b4c6b6add..5c2b0c2957 100644
--- a/contrib/tools/cython/Cython/Debugger/Tests/codefile
+++ b/contrib/tools/cython/Cython/Debugger/Tests/codefile
@@ -1,50 +1,50 @@
-cdef extern from "stdio.h":
- int puts(char *s)
-
+cdef extern from "stdio.h":
+ int puts(char *s)
+
cdef extern from "cfuncs.h":
- void some_c_function()
-
-import os
-
-cdef int c_var = 12
-python_var = 13
-
-def spam(a=0):
- cdef:
- int b, c
-
- b = c = d = 0
-
- b = 1
- c = 2
- int(10)
- puts("spam")
- os.path.join("foo", "bar")
- some_c_function()
-
-cpdef eggs():
+ void some_c_function()
+
+import os
+
+cdef int c_var = 12
+python_var = 13
+
+def spam(a=0):
+ cdef:
+ int b, c
+
+ b = c = d = 0
+
+ b = 1
+ c = 2
+ int(10)
+ puts("spam")
+ os.path.join("foo", "bar")
+ some_c_function()
+
+cpdef eggs():
pass
-cdef ham():
- pass
-
-cdef class SomeClass(object):
- def spam(self):
- pass
-
-def outer():
- cdef object a = "an object"
- def inner():
- b = 2
- # access closed over variables
- print a, b
- return inner
-
-
-outer()()
-
-spam()
-print "bye!"
-
-def use_ham():
- ham()
+cdef ham():
+ pass
+
+cdef class SomeClass(object):
+ def spam(self):
+ pass
+
+def outer():
+ cdef object a = "an object"
+ def inner():
+ b = 2
+ # access closed over variables
+ print a, b
+ return inner
+
+
+outer()()
+
+spam()
+print "bye!"
+
+def use_ham():
+ ham()