Skip to content

Commit 3932e60

Browse files
committed
Fix Array from_buffer return type hint.
1 parent afaa392 commit 3932e60

File tree

2 files changed

+53
-53
lines changed

2 files changed

+53
-53
lines changed

Diff for: codegen/templates/_emath.pyi

+1-1
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ class {{ type }}Array:
232232
@property
233233
def size(self) -> int: ...
234234
@classmethod
235-
def from_buffer(cls, buffer: Any) -> {{ type }}: ...
235+
def from_buffer(cls, buffer: Any) -> {{ type }}Array: ...
236236
@classmethod
237237
def get_component_type(cls) -> type[{{ type }}]: ...
238238

0 commit comments

Comments
 (0)