Commit 0fe816c
committed
functools plugin: Use get_proper_type before isinstance checks in lru_cache callback
Prevents mypy error about applying isinstance to unexpanded types by ensuring
first_arg_type is expanded before checking for1 parent d03a3b3 commit 0fe816c
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
413 | | - | |
414 | | - | |
415 | | - | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
416 | 416 | | |
417 | 417 | | |
418 | 418 | | |
| |||
0 commit comments