mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-02 06:00:24 +08:00
Replace Incomplete | None = None in stdlib (#14083)
This commit is contained in:
+1
-1
@@ -312,7 +312,7 @@ def foo(x): ... # unannotated argument and return type
|
||||
`Incomplete` can also be used for partially known types:
|
||||
|
||||
```python
|
||||
def foo(x: Incomplete | None = None) -> list[Incomplete]: ...
|
||||
def foo(x: Incomplete | None) -> list[Incomplete]: ...
|
||||
```
|
||||
|
||||
### What to do when a project's documentation and implementation disagree
|
||||
|
||||
Reference in New Issue
Block a user