sphinx/tests/roots/test-ext-autodoc/target/partialfunction.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
207 B
Python
Raw Normal View History

from functools import partial
def func1(a, b, c):
"""docstring of func1"""
pass
func2 = partial(func1, 1)
func3 = partial(func2, 2)
2025-01-02 19:09:26 -06:00
func3.__doc__ = 'docstring of func3'
func4 = partial(func3, 3)