mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-11-06 10:42:52 +08:00
Replace Incomplete | None = None in third party stubs (#14063)
This commit is contained in:
1 parent
acc51542c9
commit
126768408a
488 files changed
+2259
-4044
No files matched your search
@@ -1,4 +1,3 @@
|
||||
from _typeshed import Incomplete
|
||||
from types import TracebackType
|
||||
from typing import Any
|
||||
from typing_extensions import Self
|
||||
@@ -26,5 +25,5 @@ class Span:
|
||||
def __exit__(
|
||||
self, exc_type: type[BaseException] | None, exc_val: BaseException | None, exc_tb: TracebackType | None
|
||||
) -> None: ...
|
||||
def log_event(self, event: Any, payload: Incomplete | None = None) -> Self: ...
|
||||
def log_event(self, event: Any, payload=None) -> Self: ...
|
||||
def log(self, **kwargs: Any) -> Self: ...
|
||||
Reference in new issue
Block a user