You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
s# (string, Unicode or any read buffer compatible object) [const char *, int (or Py_ssize_t, see below)]
This variant on s stores into two C variables, the first one a pointer to a character string, the second one its length. In this case the Python string may contain embedded null bytes. Unicode objects pass back a pointer to the default encoded string version of the object if such a conversion is possible. All other read-buffer compatible objects pass back a reference to the raw internal data representation.
The text was updated successfully, but these errors were encountered:
https://docs.python.org/2/c-api/arg.html
s#
s# (string, Unicode or any read buffer compatible object) [const char *, int (or Py_ssize_t, see below)]
The text was updated successfully, but these errors were encountered: