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
6009ece0
Kaydet (Commit)
6009ece0
authored
Agu 17, 2010
tarafından
Victor Stinner
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Replace :func: by :cfunc:
To get links to the C functions
üst
f5be090b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
12 deletions
+12
-12
bytes.rst
Doc/c-api/bytes.rst
+1
-1
dict.rst
Doc/c-api/dict.rst
+2
-2
import.rst
Doc/c-api/import.rst
+3
-3
unicode.rst
Doc/c-api/unicode.rst
+6
-6
No files found.
Doc/c-api/bytes.rst
Dosyayı görüntüle @
6009ece0
...
...
@@ -114,7 +114,7 @@ called with a non-bytes parameter.
.. cfunction:: PyObject* PyBytes_FromFormatV(const char *format, va_list vargs)
Identical to :func:`PyBytes_FromFormat` except that it takes exactly two
Identical to :
c
func:`PyBytes_FromFormat` except that it takes exactly two
arguments.
...
...
Doc/c-api/dict.rst
Dosyayı görüntüle @
6009ece0
...
...
@@ -190,8 +190,8 @@ Dictionary Objects
.. cfunction:: int PyDict_Merge(PyObject *a, PyObject *b, int override)
Iterate over mapping object *b* adding key-value pairs to dictionary *a*.
*b* may be a dictionary, or any object supporting :func:`PyMapping_Keys`
and :func:`PyObject_GetItem`. If *override* is true, existing pairs in *a*
*b* may be a dictionary, or any object supporting :
c
func:`PyMapping_Keys`
and :
c
func:`PyObject_GetItem`. If *override* is true, existing pairs in *a*
will be replaced if a matching key is found in *b*, otherwise pairs will
only be added if there is not a matching key in *a*. Return ``0`` on
success or ``-1`` if an exception was raised.
...
...
Doc/c-api/import.rst
Dosyayı görüntüle @
6009ece0
...
...
@@ -124,8 +124,8 @@ Importing Modules
If *name* points to a dotted name of the form ``package.module``, any package
structures not already created will still not be created.
See also :func:`PyImport_ExecCodeModuleEx` and
:func:`PyImport_ExecCodeModuleWithPathnames`.
See also :
c
func:`PyImport_ExecCodeModuleEx` and
:
c
func:`PyImport_ExecCodeModuleWithPathnames`.
.. cfunction:: PyObject* PyImport_ExecCodeModuleEx(char *name, PyObject *co, char *pathname)
...
...
@@ -133,7 +133,7 @@ Importing Modules
Like :cfunc:`PyImport_ExecCodeModule`, but the :attr:`__file__` attribute of
the module object is set to *pathname* if it is non-``NULL``.
See also :func:`PyImport_ExecCodeModuleWithPathnames`.
See also :
c
func:`PyImport_ExecCodeModuleWithPathnames`.
.. cfunction:: PyObject* PyImport_ExecCodeModuleWithPathnames(char *name, PyObject *co, char *pathname, char *cpathname)
...
...
Doc/c-api/unicode.rst
Dosyayı görüntüle @
6009ece0
...
...
@@ -305,10 +305,10 @@ APIs:
| | | *NULL*). |
+-------------------+---------------------+--------------------------------+
| :attr:`%S` | PyObject\* | The result of calling |
| | | :
func:`PyObject_Str`.
|
| | | :
cfunc:`PyObject_Str`.
|
+-------------------+---------------------+--------------------------------+
| :attr:`%R` | PyObject\* | The result of calling |
| | | :
func:`PyObject_Repr`.
|
| | | :
cfunc:`PyObject_Repr`.
|
+-------------------+---------------------+--------------------------------+
An unrecognized format character causes all the rest of the format string to be
...
...
@@ -325,7 +325,7 @@ APIs:
.. cfunction:: PyObject* PyUnicode_FromFormatV(const char *format, va_list vargs)
Identical to :func:`PyUnicode_FromFormat` except that it takes exactly two
Identical to :
c
func:`PyUnicode_FromFormat` except that it takes exactly two
arguments.
...
...
@@ -375,7 +375,7 @@ To encode and decode file names and other environment strings,
:cdata:`Py_FileSystemEncoding` should be used as the encoding, and
``"surrogateescape"`` should be used as the error handler (:pep:`383`). To
encode file names during argument parsing, the ``"O&"`` converter should be
used, passsing :func:`PyUnicode_FSConverter` as the conversion function:
used, passsing :
c
func:`PyUnicode_FSConverter` as the conversion function:
.. cfunction:: int PyUnicode_FSConverter(PyObject* obj, void* result)
...
...
@@ -388,7 +388,7 @@ used, passsing :func:`PyUnicode_FSConverter` as the conversion function:
To decode file names during argument parsing, the ``"O&"`` converter should be
used, passsing :func:`PyUnicode_FSDecoder` as the conversion function:
used, passsing :
c
func:`PyUnicode_FSDecoder` as the conversion function:
.. cfunction:: int PyUnicode_FSDecoder(PyObject* obj, void* result)
...
...
@@ -407,7 +407,7 @@ used, passsing :func:`PyUnicode_FSDecoder` as the conversion function:
If :cdata:`Py_FileSystemDefaultEncoding` is not set, fall back to UTF-8.
Use :func:`PyUnicode_DecodeFSDefaultAndSize` if you know the string length.
Use :
c
func:`PyUnicode_DecodeFSDefaultAndSize` if you know the string length.
.. cfunction:: PyObject* PyUnicode_DecodeFSDefault(const char *s)
...
...
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