Staging
v0.5.1
https://github.com/python/cpython
Revision 970548c00b366dcb8eb0c2bec0ffcab30ba03aee authored by Miss Islington (bot) on 25 August 2019, 08:04:24 UTC, committed by Raymond Hettinger on 25 August 2019, 08:04:24 UTC
(cherry picked from commit 8371799e300475c8f9f967e900816218d3500e5d)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
1 parent e266d06
Raw File
Tip revision: 970548c00b366dcb8eb0c2bec0ffcab30ba03aee authored by Miss Islington (bot) on 25 August 2019, 08:04:24 UTC
bpo-37905: Improve docs for NormalDist (GH-15486) (GH-15487)
Tip revision: 970548c
pystrhex.h
#ifndef Py_STRHEX_H
#define Py_STRHEX_H

#ifdef __cplusplus
extern "C" {
#endif

#ifndef Py_LIMITED_API
/* Returns a str() containing the hex representation of argbuf. */
PyAPI_FUNC(PyObject*) _Py_strhex(const char* argbuf, const Py_ssize_t arglen);
/* Returns a bytes() containing the ASCII hex representation of argbuf. */
PyAPI_FUNC(PyObject*) _Py_strhex_bytes(const char* argbuf, const Py_ssize_t arglen);
/* These variants include support for a separator between every N bytes: */
PyAPI_FUNC(PyObject*) _Py_strhex_with_sep(const char* argbuf, const Py_ssize_t arglen, const PyObject* sep, const int bytes_per_group);
PyAPI_FUNC(PyObject*) _Py_strhex_bytes_with_sep(const char* argbuf, const Py_ssize_t arglen, const PyObject* sep, const int bytes_per_group);
#endif /* !Py_LIMITED_API */

#ifdef __cplusplus
}
#endif

#endif /* !Py_STRHEX_H */
back to top