Skip to content
Myr

remove logically-dead code

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by cAtaman · committed by David Lord · parent e24db57 · Browse files · 1 file+2 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−3 removed

  • other:+2 added−3 removed

1 file+2 added−3 removed

modified:src/click/decorators.py+2 added-3 removed
338 unmodified lines
339 message = _("%(prog)s, version %(version)s")340341 if version is None and package_name is None:342 frame = inspect.currentframe()343 assert frame is not None344 assert frame.f_back is not None345 f_globals = frame.f_back.f_globals if frame is not None else None343 f_back = frame.f_back if frame is not None else None344 f_globals = f_back.f_globals if f_back is not None else None345 # break reference cycle346 # https://docs.python.org/3/library/inspect.html#the-interpreter-stack347 del frame348
88 unmodified lines