summaryrefslogtreecommitdiffstats
path: root/tests/roots/test-ext-autodoc/target/partialfunction.py
blob: 3be63eeee6e0ddf510f0a0c573e8fdb7db84c2d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
from functools import partial


def func1(a, b, c):
    """docstring of func1"""
    pass


func2 = partial(func1, 1)
func3 = partial(func2, 2)
func3.__doc__ = "docstring of func3"
func4 = partial(func3, 3)