Commit 787b8f9d authored by Stefan Behnel's avatar Stefan Behnel

add .py test for 'binding' effect

--HG--
rename : tests/run/function_as_method_T494.pyx => tests/run/function_as_method_py_T494.py
parent 45e86c91
# ticket: 494
__doc__ = """
>>> A.foo = foo
>>> print A().foo()
True
"""
class A:
pass
def foo(self):
return self is not None
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment