Commit a94dc07
committed
Remove assertion from TypeGuard serialization
This came up in python/typeshed#5473: mypy started crashing when
I made a function return TypeGuard[Type[Any]]. I wasn't able to
reproduce this locally so far, but verified that removing the
assertion fixes the crash.1 parent 8642b35 commit a94dc07
1 file changed
+0
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1271 | 1271 | | |
1272 | 1272 | | |
1273 | 1273 | | |
1274 | | - | |
1275 | | - | |
1276 | 1274 | | |
1277 | 1275 | | |
1278 | 1276 | | |
| |||
0 commit comments