☰
Debian Codegraph
@
3.14.7-4
3.14.7-3
3.14.7-1
3.14.6-1
3.14.5-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