Skip to content

Commit 4c291ab

Browse files
committed
Improve comment on BufferProxy.write() arg
1 parent d3a4407 commit 4c291ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildconfig/stubs/pygame/bufferproxy.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ class BufferProxy:
2020
def __init__(self, parent: Any) -> None: ... # TODO: parent: TypedDict | Protocol
2121
def write(
2222
self,
23-
buffer: str | bytes, # See https://docs.python.org/3/c-api/arg.html at s#
23+
buffer: str | bytes, # Any "read-only bytes-like-object" is valid
2424
offset: int = 0,
2525
) -> None: ...

0 commit comments

Comments
 (0)