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
2080ea5f
Kaydet (Commit)
2080ea5f
authored
Ara 07, 2008
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Forward-port r67624 and r67627.
üst
c7d2b21c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
8 deletions
+1
-8
functions.rst
Doc/library/functions.rst
+0
-7
datastructures.rst
Doc/tutorial/datastructures.rst
+1
-1
No files found.
Doc/library/functions.rst
Dosyayı görüntüle @
2080ea5f
...
@@ -137,13 +137,6 @@ are always available. They are listed here in alphabetical order.
...
@@ -137,13 +137,6 @@ are always available. They are listed here in alphabetical order.
type
hierarchy
in
:
ref
:`
types
`.
type
hierarchy
in
:
ref
:`
types
`.
..
function
::
cmp
(
x
,
y
)
Compare
the
two
objects
*
x
*
and
*
y
*
and
return
an
integer
according
to
the
outcome
.
The
return
value
is
negative
if
``
x
<
y
``,
zero
if
``
x
==
y
``
and
strictly
positive
if
``
x
>
y
``.
..
function
::
compile
(
source
,
filename
,
mode
[,
flags
[,
dont_inherit
]])
..
function
::
compile
(
source
,
filename
,
mode
[,
flags
[,
dont_inherit
]])
Compile
the
*
source
*
into
a
code
or
AST
object
.
Code
objects
can
be
executed
Compile
the
*
source
*
into
a
code
or
AST
object
.
Code
objects
can
be
executed
...
...
Doc/tutorial/datastructures.rst
Dosyayı görüntüle @
2080ea5f
...
@@ -376,7 +376,7 @@ Here is a brief demonstration::
...
@@ -376,7 +376,7 @@ Here is a brief demonstration::
>>> basket = {'apple', 'orange', 'apple', 'pear', 'orange', 'banana'}
>>> basket = {'apple', 'orange', 'apple', 'pear', 'orange', 'banana'}
>>> print(basket)
>>> print(basket)
{'orange', 'banan
n
a', 'pear', 'apple'}
{'orange', 'banana', 'pear', 'apple'}
>>> fruit = ['apple', 'orange', 'apple', 'pear', 'orange', 'banana']
>>> fruit = ['apple', 'orange', 'apple', 'pear', 'orange', 'banana']
>>> fruit = set(basket) # create a set without duplicates
>>> fruit = set(basket) # create a set without duplicates
>>> fruit
>>> fruit
...
...
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