[Doc]: fix typos in Python comments (#24042)

Signed-off-by: Didier Durand <durand.didier@gmail.com>
Co-authored-by: Jee Jee Li <pandaleefree@gmail.com>
This commit is contained in:
Didier Durand
2025-09-02 04:07:45 +02:00
committed by GitHub
parent a344a5aa0a
commit 0235103cbb
12 changed files with 14 additions and 14 deletions

View File

@@ -269,7 +269,7 @@ class ScalarType:
@classmethod
def uint(cls, size_bits: int, bias: Optional[int]) -> 'ScalarType':
"""Create a unsigned integer scalar type."""
"""Create an unsigned integer scalar type."""
ret = cls(0, size_bits, False, bias if bias else 0)
ret.id # noqa B018: make sure the id is cached
return ret