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
6983ff74
Kaydet (Commit)
6983ff74
authored
May 29, 2008
tarafından
Brett Cannon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Note that UserList and UserString were moved to 'collections' in 3.0.
üst
ef3dab28
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
userdict.rst
Doc/library/userdict.rst
+12
-0
No files found.
Doc/library/userdict.rst
Dosyayı görüntüle @
6983ff74
...
@@ -100,6 +100,12 @@ The :mod:`UserList` module defines the :class:`UserList` class:
...
@@ -100,6 +100,12 @@ The :mod:`UserList` module defines the :class:`UserList` class:
defaulting to the empty list ``[]``. *list* can be any iterable, e.g. a
defaulting to the empty list ``[]``. *list* can be any iterable, e.g. a
real Python list or a :class:`UserList` object.
real Python list or a :class:`UserList` object.
.. note::
The :class:`UserList` class has been moved to the :mod:`collections`
module in Python 3.0. The :term:`2to3` tool will automatically adapt
imports when converting your sources to 3.0.
In addition to supporting the methods and operations of mutable sequences (see
In addition to supporting the methods and operations of mutable sequences (see
section :ref:`typesseq`), :class:`UserList` instances provide the following
section :ref:`typesseq`), :class:`UserList` instances provide the following
attribute:
attribute:
...
@@ -167,6 +173,12 @@ The :mod:`UserString` module defines the following classes:
...
@@ -167,6 +173,12 @@ The :mod:`UserString` module defines the following classes:
:class:`UserString` (or a subclass) or an arbitrary sequence which can be
:class:`UserString` (or a subclass) or an arbitrary sequence which can be
converted into a string using the built-in :func:`str` function.
converted into a string using the built-in :func:`str` function.
.. note::
The :class:`UserString` class has been moved to the :mod:`collections`
module in Python 3.0. The :term:`2to3` tool will automatically adapt
imports when converting your sources to 3.0.
.. class:: MutableString([sequence])
.. class:: MutableString([sequence])
...
...
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