☰
Debian Codegraph
@
9.1.0-6
9.1.0-4
/
/
tests
/
roots
/
test-ext-autodoc
/
target
/
partialfunction.py
☽
☼
tests/roots/test-ext-autodoc/target/partialfunction.py
code
plain
raw
BSD-2-clause
2007-2025 the Sphinx team (see AUTHORS file)
debian/copyright
1
from functools import partial
2
3
4
def func1(a, b, c):
5
"""docstring of func1"""
6
pass
7
8
9
func2 = partial(func1, 1)
10
func3 = partial(func2, 2)
11
func3.__doc__ = 'docstring of func3'
12
func4 = partial(func3, 3)