Debian Codegraph @

tests/roots/test-ext-autodoc/target/callable.py

raw
1 class Callable:
2 """A callable object that behaves like a function."""
3
4 def __call__(self, arg1, arg2, **kwargs):
5 pass
6
7 def method(self, arg1, arg2):
8 """docstring of Callable.method()."""
9 pass
10
11
12 function = Callable()
13 method = function.method