Sign in
fuchsia
/
third_party
/
github.com
/
pycqa
/
pylint
/
refs/heads/master
/
.
/
tests
/
functional
/
d
/
decorator_unused.py
blob: add5b3b401e48e31c9136e6db431d5495e0f9d37 [
file
] [
log
] [
blame
]
# pylint: disable=C
def
foo
():
_dispatch
=
{}
def
save
(
fn
):
_dispatch
[
fn
.
__name__
]
=
fn
return
fn
@save
def
bar
():
...
# do whatever
foo
()