☰
Debian Codegraph
@
3.13.15-1
3.13.14-1
3.13.12-1
/
/
Lib
/
test
/
test_doctest
/
decorator_mod.py
☽
☼
Lib/test/test_doctest/decorator_mod.py
code
plain
raw
1
# This module is used in `doctest_lineno.py`.
2
import functools
3
4
5
def decorator(f):
6
@functools.wraps(f)
7
def inner():
8
return f()
9
10
return inner