Skip to content

Commit

Permalink
Remove 'Basic deferred annotations' test
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkdp committed Jan 23, 2025
1 parent c577b5c commit 2022245
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,5 @@
# Deferred annotations

## Basic deferred annotation

```pyi path=mod.pyi
class C(object): ...
```

```py
from mod import C

reveal_type(C.__mro__) # revealed: tuple[Literal[C], Literal[object]]
```

## Deferred annotations in stubs always resolve

```pyi path=mod.pyi
Expand Down

0 comments on commit 2022245

Please sign in to comment.