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
95cf84a4
Kaydet (Commit)
95cf84a4
authored
Eki 19, 2003
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Patch #821093: Fix various typos.
üst
dd7eb146
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
14 additions
and
14 deletions
+14
-14
concrete.tex
Doc/api/concrete.tex
+4
-4
init.tex
Doc/api/init.tex
+2
-2
newtypes.tex
Doc/api/newtypes.tex
+2
-2
dist.tex
Doc/dist/dist.tex
+1
-1
inst.tex
Doc/inst/inst.tex
+1
-1
ref3.tex
Doc/ref/ref3.tex
+1
-1
ref5.tex
Doc/ref/ref5.tex
+1
-1
tut.tex
Doc/tut/tut.tex
+2
-2
No files found.
Doc/api/concrete.tex
Dosyayı görüntüle @
95cf84a4
...
@@ -1112,7 +1112,7 @@ These are the UTF-16 codec APIs:
...
@@ -1112,7 +1112,7 @@ These are the UTF-16 codec APIs:
% --- Unicode-Escape Codecs ----------------------------------------------
% --- Unicode-Escape Codecs ----------------------------------------------
These are the ``Unicode Es
ac
pe'' codec APIs:
These are the ``Unicode Es
ca
pe'' codec APIs:
\begin{cfuncdesc}
{
PyObject*
}{
PyUnicode
_
DecodeUnicodeEscape
}{
const char *s,
\begin{cfuncdesc}
{
PyObject*
}{
PyUnicode
_
DecodeUnicodeEscape
}{
const char *s,
int size,
int size,
...
@@ -1138,13 +1138,13 @@ These are the ``Unicode Esacpe'' codec APIs:
...
@@ -1138,13 +1138,13 @@ These are the ``Unicode Esacpe'' codec APIs:
% --- Raw-Unicode-Escape Codecs ------------------------------------------
% --- Raw-Unicode-Escape Codecs ------------------------------------------
These are the ``Raw Unicode Es
ac
pe'' codec APIs:
These are the ``Raw Unicode Es
ca
pe'' codec APIs:
\begin{cfuncdesc}
{
PyObject*
}{
PyUnicode
_
DecodeRawUnicodeEscape
}{
const char *s,
\begin{cfuncdesc}
{
PyObject*
}{
PyUnicode
_
DecodeRawUnicodeEscape
}{
const char *s,
int size,
int size,
const char *errors
}
const char *errors
}
Creates a Unicode object by decoding
\var
{
size
}
bytes of the
Creates a Unicode object by decoding
\var
{
size
}
bytes of the
Raw-Unicode-Es
ac
pe encoded string
\var
{
s
}
. Returns
\NULL
{}
if an
Raw-Unicode-Es
ca
pe encoded string
\var
{
s
}
. Returns
\NULL
{}
if an
exception was raised by the codec.
exception was raised by the codec.
\end{cfuncdesc}
\end{cfuncdesc}
...
@@ -1325,7 +1325,7 @@ machine running the codec.
...
@@ -1325,7 +1325,7 @@ machine running the codec.
The following APIs are capable of handling Unicode objects and strings
The following APIs are capable of handling Unicode objects and strings
on input (we refer to them as strings in the descriptions) and return
on input (we refer to them as strings in the descriptions) and return
Unicode objects or integers as app
or
priate.
Unicode objects or integers as app
ro
priate.
They all return
\NULL
{}
or
\code
{
-1
}
if an exception occurs.
They all return
\NULL
{}
or
\code
{
-1
}
if an exception occurs.
...
...
Doc/api/init.tex
Dosyayı görüntüle @
95cf84a4
...
@@ -752,7 +752,7 @@ previous versions.
...
@@ -752,7 +752,7 @@ previous versions.
function when an exception has been raised. The callback function
function when an exception has been raised. The callback function
is called with this value for
\var
{
what
}
when after any bytecode is
is called with this value for
\var
{
what
}
when after any bytecode is
processed after which the exception becomes set within the frame
processed after which the exception becomes set within the frame
being executed. The effect of this is that as exception prop
o
gation
being executed. The effect of this is that as exception prop
a
gation
causes the Python stack to unwind, the callback is called upon
causes the Python stack to unwind, the callback is called upon
return to each frame as the exception propagates. Only trace
return to each frame as the exception propagates. Only trace
functions receives these events; they are not needed by the
functions receives these events; they are not needed by the
...
@@ -767,7 +767,7 @@ previous versions.
...
@@ -767,7 +767,7 @@ previous versions.
\begin{cvardesc}
{
int
}{
PyTrace
_
RETURN
}
\begin{cvardesc}
{
int
}{
PyTrace
_
RETURN
}
The value for the
\var
{
what
}
parameter to
\ctype
{
Py
_
tracefunc
}
The value for the
\var
{
what
}
parameter to
\ctype
{
Py
_
tracefunc
}
functions when a call is returning without prop
o
gating an exception.
functions when a call is returning without prop
a
gating an exception.
\end{cvardesc}
\end{cvardesc}
\begin{cfuncdesc}
{
void
}{
PyEval
_
SetProfile
}{
Py
_
tracefunc func, PyObject *obj
}
\begin{cfuncdesc}
{
void
}{
PyEval
_
SetProfile
}{
Py
_
tracefunc func, PyObject *obj
}
...
...
Doc/api/newtypes.tex
Dosyayı görüntüle @
95cf84a4
...
@@ -498,7 +498,7 @@ Foo_Type.ob_type = &PyType_Type;
...
@@ -498,7 +498,7 @@ Foo_Type.ob_type = &PyType_Type;
The destructor function is called by the
\cfunction
{
Py
_
DECREF()
}
and
The destructor function is called by the
\cfunction
{
Py
_
DECREF()
}
and
\cfunction
{
Py
_
XDECREF()
}
macros when the new reference count is
\cfunction
{
Py
_
XDECREF()
}
macros when the new reference count is
zero. At this point, the instance is still in exist
a
nce, but there
zero. At this point, the instance is still in exist
e
nce, but there
are no references to it. The destructor function should free all
are no references to it. The destructor function should free all
references which the instance owns, free all memory buffers owned by
references which the instance owns, free all memory buffers owned by
the instance (using the freeing function corresponding to the
the instance (using the freeing function corresponding to the
...
@@ -1515,7 +1515,7 @@ to be able to test for its presence before using it.}
...
@@ -1515,7 +1515,7 @@ to be able to test for its presence before using it.}
\label
{
supporting-iteration
}}
\label
{
supporting-iteration
}}
\section
{
Supporting Cyclic Garba
r
ge Collection
\section
{
Supporting Cyclic Garbage Collection
\label
{
supporting-cycle-detection
}}
\label
{
supporting-cycle-detection
}}
Python's support for detecting and collecting garbage which involves
Python's support for detecting and collecting garbage which involves
...
...
Doc/dist/dist.tex
Dosyayı görüntüle @
95cf84a4
...
@@ -805,7 +805,7 @@ On the other hand, this doesn't help the developer to find the cause
...
@@ -805,7 +805,7 @@ On the other hand, this doesn't help the developer to find the cause
of the failure. For this purpose, the DISTUTILS
_
DEBUG environment
of the failure. For this purpose, the DISTUTILS
_
DEBUG environment
variable can be set to anything except an empty string, and distutils
variable can be set to anything except an empty string, and distutils
will now print detailed information what it is doing, and prints the
will now print detailed information what it is doing, and prints the
full traceback in case an exception occur
r
s.
full traceback in case an exception occurs.
\section
{
Writing the Setup Configuration File
}
\section
{
Writing the Setup Configuration File
}
\label
{
setup-config
}
\label
{
setup-config
}
...
...
Doc/inst/inst.tex
Dosyayı görüntüle @
95cf84a4
...
@@ -158,7 +158,7 @@ python setup.py install
...
@@ -158,7 +158,7 @@ python setup.py install
On Windows, you'd probably download
\file
{
foo-1.0.zip
}
. If you
On Windows, you'd probably download
\file
{
foo-1.0.zip
}
. If you
downloaded the archive file to
\file
{
C:
\textbackslash
{}
Temp
}
, then it
downloaded the archive file to
\file
{
C:
\textbackslash
{}
Temp
}
, then it
would unpack into
\file
{
C:
\textbackslash
{}
Temp
\textbackslash
{}
foo-1.0
}
;
would unpack into
\file
{
C:
\textbackslash
{}
Temp
\textbackslash
{}
foo-1.0
}
;
you can use either a archive manipulator with a grapical user interface
you can use either a archive manipulator with a grap
h
ical user interface
(such as WinZip) or a command-line tool (such as
\program
{
unzip
}
or
(such as WinZip) or a command-line tool (such as
\program
{
unzip
}
or
\program
{
pkunzip
}
) to unpack the archive. Then, open a command prompt
\program
{
pkunzip
}
) to unpack the archive. Then, open a command prompt
window (``DOS box''), and run:
window (``DOS box''), and run:
...
...
Doc/ref/ref3.tex
Dosyayı görüntüle @
95cf84a4
...
@@ -1034,7 +1034,7 @@ base class has an \method{__init__()} method, the derived class's
...
@@ -1034,7 +1034,7 @@ base class has an \method{__init__()} method, the derived class's
\method
{__
init
__
()
}
method, if any, must explicitly call it to ensure proper
\method
{__
init
__
()
}
method, if any, must explicitly call it to ensure proper
initialization of the base class part of the instance; for example:
initialization of the base class part of the instance; for example:
\samp
{
BaseClass.
__
init
__
(
\var
{
self
}
, [
\var
{
args
}
...])
}
. As a special
\samp
{
BaseClass.
__
init
__
(
\var
{
self
}
, [
\var
{
args
}
...])
}
. As a special
contraint on constructors, no value may be returned; doing so will
con
s
traint on constructors, no value may be returned; doing so will
cause a
\exception
{
TypeError
}
to be raised at runtime.
cause a
\exception
{
TypeError
}
to be raised at runtime.
\end{methoddesc}
\end{methoddesc}
...
...
Doc/ref/ref5.tex
Dosyayı görüntüle @
95cf84a4
...
@@ -1004,7 +1004,7 @@ not \code{''}.)
...
@@ -1004,7 +1004,7 @@ not \code{''}.)
\section
{
Lambdas
\label
{
lambdas
}}
\section
{
Lambdas
\label
{
lambdas
}}
\indexii
{
lambda
}{
expression
}
\indexii
{
lambda
}{
expression
}
\indexii
{
lambda
}{
form
}
\indexii
{
lambda
}{
form
}
\indexii
{
anon
m
ymous
}{
function
}
\indexii
{
anonymous
}{
function
}
Lambda forms (lambda expressions) have the same syntactic position as
Lambda forms (lambda expressions) have the same syntactic position as
expressions. They are a shorthand to create anonymous functions; the
expressions. They are a shorthand to create anonymous functions; the
...
...
Doc/tut/tut.tex
Dosyayı görüntüle @
95cf84a4
...
@@ -2494,7 +2494,7 @@ interpreter; these provide access to operations that are not part of
...
@@ -2494,7 +2494,7 @@ interpreter; these provide access to operations that are not part of
the core of the language but are nevertheless built in, either for
the core of the language but are nevertheless built in, either for
efficiency or to provide access to operating system primitives such as
efficiency or to provide access to operating system primitives such as
system calls. The set of such modules is a configuration option which
system calls. The set of such modules is a configuration option which
also dependson the underlying platform For example,
also depends
on the underlying platform For example,
the
\module
{
amoeba
}
module is only provided on systems that somehow
the
\module
{
amoeba
}
module is only provided on systems that somehow
support Amoeba primitives. One particular module deserves some
support Amoeba primitives. One particular module deserves some
attention:
\ulink
{
\module
{
sys
}}{
..
/
lib
/
module
-
sys.html
}
%
attention:
\ulink
{
\module
{
sys
}}{
..
/
lib
/
module
-
sys.html
}
%
...
@@ -2647,7 +2647,7 @@ Sound/ Top-level package
...
@@ -2647,7 +2647,7 @@ Sound/ Top-level package
...
...
\end
{
verbatim
}
\end
{
verbatim
}
When importing the package, Python searchs through the directories
When importing the package, Python search
e
s through the directories
on
\code
{
sys.path
}
looking for the package subdirectory.
on
\code
{
sys.path
}
looking for the package subdirectory.
The
\file
{__
init
__
.py
}
files are required to make Python treat the
The
\file
{__
init
__
.py
}
files are required to make Python treat the
...
...
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