Commit 8a2ff7a
committed
Support typing.assert_type.
* Aliases typing.assert_type to our assert_type pseudo-builtin.
* Removes single-argument assert_type form. This functionality didn't make it
into the typing library variant. I don't think it's used much anyway,
given that pytype_extensions.assert_type doesn't support it at runtime, and
no one's ever noticed.
PiperOrigin-RevId: 5770002831 parent dc50f2b commit 8a2ff7a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
| 183 | + | |
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| |||
0 commit comments