more ty, part 2 (#38379)

This commit is contained in:
Adeeb Shihadeh
2026-07-19 11:02:00 -07:00
committed by GitHub
parent 19ecc37de8
commit f0d93eb32d
57 changed files with 194 additions and 165 deletions
+1 -1
View File
@@ -184,7 +184,7 @@ class BinaryStruct:
setattr(obj, name, value)
return obj
cls._read = _read
cls._read = _read # ty: ignore[invalid-assignment] # installed dynamically for each subclass
@classmethod
def from_bytes(cls: type[T], data: bytes) -> T: