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
268cc7c3
Kaydet (Commit)
268cc7c3
authored
May 22, 2018
tarafından
Andrés Delfino
Kaydeden (comit)
Julien Palard
May 22, 2018
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix lambda parameters being refered as arguments (GH-7037)
üst
b7555bab
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
glossary.rst
Doc/glossary.rst
+1
-1
expressions.rst
Doc/reference/expressions.rst
+2
-2
No files found.
Doc/glossary.rst
Dosyayı görüntüle @
268cc7c3
...
...
@@ -627,7 +627,7 @@ Glossary
lambda
An
anonymous
inline
function
consisting
of
a
single
:
term
:`
expression
`
which
is
evaluated
when
the
function
is
called
.
The
syntax
to
create
a
lambda
function
is
``
lambda
[
argument
s
]:
expression
``
a
lambda
function
is
``
lambda
[
parameter
s
]:
expression
``
LBYL
Look
before
you
leap
.
This
coding
style
explicitly
tests
for
...
...
Doc/reference/expressions.rst
Dosyayı görüntüle @
268cc7c3
...
...
@@ -1608,12 +1608,12 @@ Lambdas
lambda_expr_nocond: "lambda" [`parameter_list`]: `expression_nocond`
Lambda expressions (sometimes called lambda forms) are used to create anonymous
functions. The expression ``lambda
argument
s: expression`` yields a function
functions. The expression ``lambda
parameter
s: expression`` yields a function
object. The unnamed object behaves like a function object defined with:
.. code-block:: none
def <lambda>(
argument
s):
def <lambda>(
parameter
s):
return expression
See section :ref:`function` for the syntax of parameter lists. Note that
...
...
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