summaryrefslogtreecommitdiffstats
path: root/contrib/tools/cython/Cython/Debugger/Tests/codefile
diff options
context:
space:
mode:
authormonster <[email protected]>2022-07-07 14:41:37 +0300
committermonster <[email protected]>2022-07-07 14:41:37 +0300
commit06e5c21a835c0e923506c4ff27929f34e00761c2 (patch)
tree75efcbc6854ef9bd476eb8bf00cc5c900da436a2 /contrib/tools/cython/Cython/Debugger/Tests/codefile
parent03f024c4412e3aa613bb543cf1660176320ba8f4 (diff)
fix ya.make
Diffstat (limited to 'contrib/tools/cython/Cython/Debugger/Tests/codefile')
-rw-r--r--contrib/tools/cython/Cython/Debugger/Tests/codefile50
1 files changed, 0 insertions, 50 deletions
diff --git a/contrib/tools/cython/Cython/Debugger/Tests/codefile b/contrib/tools/cython/Cython/Debugger/Tests/codefile
deleted file mode 100644
index 6b4c6b6addf..00000000000
--- a/contrib/tools/cython/Cython/Debugger/Tests/codefile
+++ /dev/null
@@ -1,50 +0,0 @@
-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():
- 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()