We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b44181 commit da8a85bCopy full SHA for da8a85b
crates/ty_python_semantic/resources/mdtest/protocols.md
@@ -1658,7 +1658,7 @@ overflows.
1658
1659
```py
1660
from typing_extensions import Protocol, Self
1661
-from ty_extensions import static_assert, is_fully_static
+from ty_extensions import static_assert
1662
1663
class _HashObject(Protocol):
1664
def copy(self) -> Self: ...
@@ -1668,8 +1668,6 @@ class Foo: ...
1668
# Attempting to build this union caused us to overflow on an early version of
1669
# <https://github.com/astral-sh/ruff/pull/18659>
1670
x: Foo | _HashObject
1671
-
1672
-static_assert(is_fully_static(_HashObject))
1673
```
1674
1675
## TODO
0 commit comments