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
f1b678d9
Kaydet (Commit)
f1b678d9
authored
Eyl 01, 2010
tarafından
Raymond Hettinger
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Glossary cleanup
üst
d252d0d3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
16 deletions
+21
-16
glossary.rst
Doc/glossary.rst
+21
-16
No files found.
Doc/glossary.rst
Dosyayı görüntüle @
f1b678d9
...
@@ -143,10 +143,9 @@ Glossary
...
@@ -143,10 +143,9 @@ Glossary
For more information about descriptors' methods, see :ref:`descriptors`.
For more information about descriptors' methods, see :ref:`descriptors`.
dictionary
dictionary
An associative array, where arbitrary keys are mapped to values. The use
An associative array, where arbitrary keys are mapped to values. The keys
of :class:`dict` closely resembles that for :class:`list`, but the keys can
can be any object with :meth:`__hash__` function and :meth:`__eq__`
be any object with a :meth:`__hash__` function, not just integers.
methods. Called a hash in Perl.
Called a hash in Perl.
docstring
docstring
A string literal which appears as the first expression in a class,
A string literal which appears as the first expression in a class,
...
@@ -193,13 +192,20 @@ Glossary
...
@@ -193,13 +192,20 @@ Glossary
implement a method named :meth:`find_module`. See :pep:`302` for
implement a method named :meth:`find_module`. See :pep:`302` for
details.
details.
floor division
Mathematical division that rounds down to nearest integer. The floor
division operator is ``//``. For example, the expression ``11 // 4``
evaluates to ``2`` in contrast to the ``2.75`` returned by float true
division. Note that ``(-11) // 4`` is ``-3`` because that is ``-2.75``
rounded *downward*. See :pep:`238`.
function
function
A series of statements which returns some value to a caller. It can also
A series of statements which returns some value to a caller. It can also
be passed zero or more arguments which may be used in the execution of
be passed zero or more arguments which may be used in the execution of
the body. See also :term:`argument` and :term:`method`.
the body. See also :term:`argument` and :term:`method`.
__future__
__future__
A pseudo
module which programmers can use to enable new language features
A pseudo
-
module which programmers can use to enable new language features
which are not compatible with the current interpreter. For example, the
which are not compatible with the current interpreter. For example, the
expression ``11/4`` currently evaluates to ``2``. If the module in which
expression ``11/4`` currently evaluates to ``2``. If the module in which
it is executed had enabled *true division* by executing::
it is executed had enabled *true division* by executing::
...
@@ -224,13 +230,13 @@ Glossary
...
@@ -224,13 +230,13 @@ Glossary
generator
generator
A function which returns an iterator. It looks like a normal function
A function which returns an iterator. It looks like a normal function
except that
values are returned to the caller using a :keyword:`yield`
except that
it contains :keyword:`yield` statements for producing a series
statement instead of a :keyword:`return` statement. Generator functions
a values usable in a for-loop or that can be retrieved one at a time with
often contain one or more :keyword:`for` or :keyword:`while` loops which
the :func:`next` function. Each :keyword:`yield` temporarily suspends
:keyword:`yield` elements back to the caller. The function execution is
processing, remembering the location execution state (including local
stopped at the :keyword:`yield` keyword (returning the result) and is
variables and pending try-statements). When the generator resumes, it
resumed there when the next element is requested by calling the
picks-up where it left-off (in contrast to functions which start fresh on
:meth:`next` method of the returned iterator
.
every invocation)
.
.. index:: single: generator expression
.. index:: single: generator expression
...
@@ -275,9 +281,7 @@ Glossary
...
@@ -275,9 +281,7 @@ Glossary
IDLE
IDLE
An Integrated Development Environment for Python. IDLE is a basic editor
An Integrated Development Environment for Python. IDLE is a basic editor
and interpreter environment which ships with the standard distribution of
and interpreter environment which ships with the standard distribution of
Python. Good for beginners, it also serves as clear example code for
Python.
those wanting to implement a moderately sophisticated, multi-platform GUI
application.
immutable
immutable
An object with a fixed value. Immutable objects include numbers, strings and
An object with a fixed value. Immutable objects include numbers, strings and
...
@@ -389,7 +393,8 @@ Glossary
...
@@ -389,7 +393,8 @@ Glossary
mapping
mapping
A container object (such as :class:`dict`) which supports arbitrary key
A container object (such as :class:`dict`) which supports arbitrary key
lookups using the special method :meth:`__getitem__`.
lookups using the special method :meth:`__getitem__`. Mappings also
support :meth:`__len__`, :meth:`__iter__`, and :meth:`__contains__`.
metaclass
metaclass
The class of a class. Class definitions create a class name, a class
The class of a class. Class definitions create a class name, a class
...
...
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