sphinx/tests/roots/test-ext-autodoc/target/callable.py
2024-08-11 14:58:56 +01:00

14 lines
277 B
Python

class Callable:
"""A callable object that behaves like a function."""
def __call__(self, arg1, arg2, **kwargs):
pass
def method(self, arg1, arg2):
"""docstring of Callable.method()."""
pass
function = Callable()
method = function.method