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
7c895eda
Kaydet (Commit)
7c895eda
authored
Nis 29, 2014
tarafından
Terry Jan Reedy
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Closes 21048: Index 'as' in import and with statements.
üst
43e7cd38
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
compound_stmts.rst
Doc/reference/compound_stmts.rst
+3
-1
simple_stmts.rst
Doc/reference/simple_stmts.rst
+2
-0
No files found.
Doc/reference/compound_stmts.rst
Dosyayı görüntüle @
7c895eda
...
@@ -348,7 +348,9 @@ may be found in section :ref:`raise`.
...
@@ -348,7 +348,9 @@ may be found in section :ref:`raise`.
The :keyword:`with` statement
The :keyword:`with` statement
=============================
=============================
.. index:: statement: with
.. index::
statement: with
single: as; with statement
The :keyword:`with` statement is used to wrap the execution of a block with
The :keyword:`with` statement is used to wrap the execution of a block with
methods defined by a context manager (see section :ref:`context-managers`).
methods defined by a context manager (see section :ref:`context-managers`).
...
...
Doc/reference/simple_stmts.rst
Dosyayı görüntüle @
7c895eda
...
@@ -656,6 +656,8 @@ initializing the module, which includes execution of the module's code.
...
@@ -656,6 +656,8 @@ initializing the module, which includes execution of the module's code.
If the requested module is retrieved successfully, it will be made
If the requested module is retrieved successfully, it will be made
available in the local namespace in one of three ways:
available in the local namespace in one of three ways:
.. index:: single: as; import statement
* If the module name is followed by :keyword:`as`, then the name
* If the module name is followed by :keyword:`as`, then the name
following :keyword:`as` is bound directly to the imported module.
following :keyword:`as` is bound directly to the imported module.
* If no other name is specified, and the module being imported is a top
* If no other name is specified, and the module being imported is a top
...
...
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