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
a67619ec
Kaydet (Commit)
a67619ec
authored
Ara 31, 2016
tarafından
Raymond Hettinger
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
merge
üst
9db22dd9
b46ea903
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
__init__.py
Lib/collections/__init__.py
+5
-2
NEWS
Misc/NEWS
+4
-0
No files found.
Lib/collections/__init__.py
Dosyayı görüntüle @
a67619ec
...
@@ -189,6 +189,7 @@ class OrderedDict(dict):
...
@@ -189,6 +189,7 @@ class OrderedDict(dict):
link
=
self
.
__map
[
key
]
link
=
self
.
__map
[
key
]
link_prev
=
link
.
prev
link_prev
=
link
.
prev
link_next
=
link
.
next
link_next
=
link
.
next
soft_link
=
link_next
.
prev
link_prev
.
next
=
link_next
link_prev
.
next
=
link_next
link_next
.
prev
=
link_prev
link_next
.
prev
=
link_prev
root
=
self
.
__root
root
=
self
.
__root
...
@@ -196,12 +197,14 @@ class OrderedDict(dict):
...
@@ -196,12 +197,14 @@ class OrderedDict(dict):
last
=
root
.
prev
last
=
root
.
prev
link
.
prev
=
last
link
.
prev
=
last
link
.
next
=
root
link
.
next
=
root
last
.
next
=
root
.
prev
=
link
root
.
prev
=
soft_link
last
.
next
=
link
else
:
else
:
first
=
root
.
next
first
=
root
.
next
link
.
prev
=
root
link
.
prev
=
root
link
.
next
=
first
link
.
next
=
first
root
.
next
=
first
.
prev
=
link
first
.
prev
=
soft_link
root
.
next
=
link
def
__sizeof__
(
self
):
def
__sizeof__
(
self
):
sizeof
=
_sys
.
getsizeof
sizeof
=
_sys
.
getsizeof
...
...
Misc/NEWS
Dosyayı görüntüle @
a67619ec
...
@@ -51,6 +51,10 @@ Library
...
@@ -51,6 +51,10 @@ Library
- Issue #13051: Fixed recursion errors in large or resized
- Issue #13051: Fixed recursion errors in large or resized
curses.textpad.Textbox. Based on patch by Tycho Andersen.
curses.textpad.Textbox. Based on patch by Tycho Andersen.
- Issue #29119: Fix weakrefs in the pure python version of
collections.OrderedDict move_to_end() method.
Contributed by Andra Bogildea.
- Issue #9770: curses.ascii predicates now work correctly with negative
- Issue #9770: curses.ascii predicates now work correctly with negative
integers.
integers.
...
...
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