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
a4d651fb
Kaydet (Commit)
a4d651fb
authored
Nis 06, 2006
tarafından
Andrew M. Kuchling
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix unfinished paragraph; markup fix
üst
4d8cd895
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
whatsnew25.tex
Doc/whatsnew/whatsnew25.tex
+6
-4
No files found.
Doc/whatsnew/whatsnew25.tex
Dosyayı görüntüle @
a4d651fb
...
...
@@ -3,7 +3,7 @@
% $Id$
% Fix XXX comments
% Distutils upload
% Distutils upload
(PEP 243)
% The easy_install stuff
% xml.etree section
% added sqlite3
...
...
@@ -545,8 +545,10 @@ First, I'll discuss the statement as it will commonly be used, and
then I'll discuss the detailed implementation and how to write objects
(called ``context managers'') that can be used with this statement.
Most people, who will only use
\keyword
{
with
}
in company with an
existing object, don't need to know these details, but can
Authors of new context managers will need to understand the
existing object, don't need to know these details and can
just use objects that are documented to work as context managers.
Authors of new context managers will need to understand the details of
the underlying implementation.
The
\keyword
{
with
}
statement is a new control-flow structure whose
basic structure is:
...
...
@@ -745,7 +747,7 @@ may therefore need to have some variables changed to
The
\cfunction
{
PyArg
_
ParseTuple()
}
and
\cfunction
{
Py
_
BuildValue()
}
functions
have a new conversion code,
\samp
{
n
}
, for
\ctype
{
Py
_
ssize
_
t
}
.
\cfunction
{
PyArg
_
ParseTuple()
}
's
\samp
{
s
#
}
and
\samp
{
t
#
}
still output
\cfunction
{
PyArg
_
ParseTuple()
}
's
\samp
{
s
\#
}
and
\samp
{
t
\
#
}
still output
\ctype
{
int
}
by default, but you can define the macro
\csimplemacro
{
PY
_
SSIZE
_
T
_
CLEAN
}
before including
\file
{
Python.h
}
to make them return
\ctype
{
Py
_
ssize
_
t
}
.
...
...
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