mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-29 23:47:22 +08:00
Introduce SupportsContainsAndGetItem (#11827)
This commit is contained in:
1 parent
d0f2be92ab
commit
f646eb86e2
4 files changed
+17
-14
No files matched your search
@@ -18,7 +18,7 @@ class Point:
|
||||
def measurement(measurement: str) -> Point: ...
|
||||
@staticmethod
|
||||
def from_dict(
|
||||
dictionary: SupportsGetItem[str, Any],
|
||||
dictionary: SupportsGetItem[str, Any], # TODO: Use SupportsContainsAndGetItem
|
||||
write_precision: _WritePrecision = "ns",
|
||||
*,
|
||||
record_measurement_name: str | None = ...,
|
||||
|
||||
Reference in new issue
Block a user