Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
57dd79e6
Unverified
Kaydet (Commit)
57dd79e6
authored
Ara 19, 2018
tarafından
Serhiy Storchaka
Kaydeden (comit)
GitHub
Ara 19, 2018
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix documented signatures for C API functions. (GH-11236)
üst
bf99bcf5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
tuple.rst
Doc/c-api/tuple.rst
+1
-1
unicode.rst
Doc/c-api/unicode.rst
+4
-4
No files found.
Doc/c-api/tuple.rst
Dosyayı görüntüle @
57dd79e6
...
@@ -209,7 +209,7 @@ type.
...
@@ -209,7 +209,7 @@ type.
This function "steals" a reference to *o*.
This function "steals" a reference to *o*.
.. c:function::
PyObject*
PyStructSequence_SET_ITEM(PyObject *p, Py_ssize_t *pos, PyObject *o)
.. c:function::
void
PyStructSequence_SET_ITEM(PyObject *p, Py_ssize_t *pos, PyObject *o)
Macro equivalent of :c:func:`PyStructSequence_SetItem`.
Macro equivalent of :c:func:`PyStructSequence_SetItem`.
...
...
Doc/c-api/unicode.rst
Dosyayı görüntüle @
57dd79e6
...
@@ -935,7 +935,7 @@ wchar_t Support
...
@@ -935,7 +935,7 @@ wchar_t Support
Return *NULL* on failure.
Return *NULL* on failure.
.. c:function:: Py_ssize_t PyUnicode_AsWideChar(Py
Unicode
Object *unicode, wchar_t *w, Py_ssize_t size)
.. c:function:: Py_ssize_t PyUnicode_AsWideChar(PyObject *unicode, wchar_t *w, Py_ssize_t size)
Copy the Unicode object contents into the :c:type:`wchar_t` buffer *w*. At most
Copy the Unicode object contents into the :c:type:`wchar_t` buffer *w*. At most
*size* :c:type:`wchar_t` characters are copied (excluding a possibly trailing
*size* :c:type:`wchar_t` characters are copied (excluding a possibly trailing
...
@@ -1346,7 +1346,7 @@ These are the "Raw Unicode Escape" codec APIs:
...
@@ -1346,7 +1346,7 @@ These are the "Raw Unicode Escape" codec APIs:
.. c:function:: PyObject* PyUnicode_EncodeRawUnicodeEscape(const Py_UNICODE *s, \
.. c:function:: PyObject* PyUnicode_EncodeRawUnicodeEscape(const Py_UNICODE *s, \
Py_ssize_t size
, const char *errors
)
Py_ssize_t size)
Encode the :c:type:`Py_UNICODE` buffer of the given *size* using Raw-Unicode-Escape
Encode the :c:type:`Py_UNICODE` buffer of the given *size* using Raw-Unicode-Escape
and return a bytes object. Return *NULL* if an exception was raised by the codec.
and return a bytes object. Return *NULL* if an exception was raised by the codec.
...
@@ -1515,8 +1515,8 @@ the user settings on the machine running the codec.
...
@@ -1515,8 +1515,8 @@ the user settings on the machine running the codec.
Return *NULL* if an exception was raised by the codec.
Return *NULL* if an exception was raised by the codec.
.. c:function:: PyObject* PyUnicode_DecodeMBCSStateful(const char *s,
in
t size, \
.. c:function:: PyObject* PyUnicode_DecodeMBCSStateful(const char *s,
Py_ssize_
t size, \
const char *errors,
in
t *consumed)
const char *errors,
Py_ssize_
t *consumed)
If *consumed* is *NULL*, behave like :c:func:`PyUnicode_DecodeMBCS`. If
If *consumed* is *NULL*, behave like :c:func:`PyUnicode_DecodeMBCS`. If
*consumed* is not *NULL*, :c:func:`PyUnicode_DecodeMBCSStateful` will not decode
*consumed* is not *NULL*, :c:func:`PyUnicode_DecodeMBCSStateful` will not decode
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment