gh-129813, PEP 782: Use PyBytesWriter in _winapi.PeekNamedPipe() (#13… · python/cpython@c5fb72e · GitHub
Skip to content

Commit c5fb72e

Browse files
authored
gh-129813, PEP 782: Use PyBytesWriter in _winapi.PeekNamedPipe() (#138930)
Replace PyBytes_FromStringAndSize(NULL, size) and _PyBytes_Resize() with the new public PyBytesWriter API.
1 parent dfd52e7 commit c5fb72e

1 file changed

Lines changed: 12 additions & 7 deletions

File tree

Modules/_winapi.c

Lines changed: 12 additions & 7 deletions

0 commit comments

Comments
 (0)