core.cachew: make disabled_cachew defensive
This commit is contained in:
parent
bb6eafb5ab
commit
3524fcfef5
2 changed files with 7 additions and 1 deletions
|
@ -202,6 +202,7 @@ if TYPE_CHECKING:
|
|||
|
||||
mcachew: McachewType
|
||||
|
||||
# TODO ugh. I think it needs doublewrap, otherwise @mcachew without args doesn't work
|
||||
def mcachew(*args, **kwargs): # type: ignore[no-redef]
|
||||
"""
|
||||
Stands for 'Maybe cachew'.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue