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
e9b8403a
Kaydet (Commit)
e9b8403a
authored
Haz 02, 2016
tarafından
Tommy Beadle
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
[Issue 15476] Make "code object" its own entry in the index
üst
a6f6edbd
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
11 deletions
+8
-11
code.rst
Doc/c-api/code.rst
+2
-4
marshal.rst
Doc/library/marshal.rst
+2
-1
stdtypes.rst
Doc/library/stdtypes.rst
+2
-2
datamodel.rst
Doc/reference/datamodel.rst
+2
-4
No files found.
Doc/c-api/code.rst
Dosyayı görüntüle @
e9b8403a
...
...
@@ -2,15 +2,13 @@
.. _codeobjects:
.. index:: object; code, code object
Code Objects
------------
.. sectionauthor:: Jeffrey Yasskin <jyasskin@gmail.com>
.. index::
object: code
Code objects are a low-level detail of the CPython implementation.
Each one represents a chunk of executable code that hasn't yet been
bound into a function.
...
...
Doc/library/marshal.rst
Dosyayı görüntüle @
e9b8403a
...
...
@@ -16,7 +16,6 @@ rarely does). [#]_
.. index::
module: pickle
module: shelve
object: code
This is not a general "persistence" module. For general persistence and
transfer of Python objects through RPC calls, see the modules :mod:`pickle` and
...
...
@@ -34,6 +33,8 @@ supports a substantially wider range of objects than marshal.
maliciously constructed data. Never unmarshal data received from an
untrusted or unauthenticated source.
.. index:: object; code, code object
Not all Python object types are supported; in general, only objects whose value
is independent from a particular invocation of Python can be written and read by
this module. The following types are supported: booleans, integers, floating
...
...
Doc/library/stdtypes.rst
Dosyayı görüntüle @
e9b8403a
...
...
@@ -4436,13 +4436,13 @@ attribute, you need to explicitly set it on the underlying function object::
See :ref:`types` for more information.
.. index:: object; code, code object
.. _bltin-code-objects:
Code Objects
------------
.. index:: object: code
.. index::
builtin: compile
single: __code__ (function object attribute)
...
...
Doc/reference/datamodel.rst
Dosyayı görüntüle @
e9b8403a
...
...
@@ -846,11 +846,9 @@ Internal types
definitions may change with future versions of the interpreter, but they are
mentioned here for completeness.
Code objects
.. index::
single: bytecode
object: code
.. index:: bytecode, object; code, code object
Code objects
Code objects represent *byte-compiled* executable Python code, or :term:`bytecode`.
The difference between a code object and a function object is that the function
object contains an explicit reference to the function's globals (the module in
...
...
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