mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Issue #20460: Render 'bytes' as a class, not a function.
Patch by OSAMU NAKAMURA.
This commit is contained in:
parent
19c1f3dce6
commit
a479b7505e
1 changed files with 1 additions and 1 deletions
|
|
@ -513,7 +513,7 @@ Building values
|
|||
``None`` is returned.
|
||||
|
||||
``y`` (:class:`bytes`) [char \*]
|
||||
This converts a C string to a Python :func:`bytes` object. If the C
|
||||
This converts a C string to a Python :class:`bytes` object. If the C
|
||||
string pointer is *NULL*, ``None`` is returned.
|
||||
|
||||
``y#`` (:class:`bytes`) [char \*, int]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue