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
90f36730
Kaydet (Commit)
90f36730
authored
Tem 12, 2008
tarafından
Benjamin Peterson
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix various doc typos #3320
üst
9c87a407
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
35 additions
and
35 deletions
+35
-35
conversion.rst
Doc/c-api/conversion.rst
+4
-4
windows.rst
Doc/extending/windows.rst
+1
-1
__future__.rst
Doc/library/__future__.rst
+1
-1
ftplib.rst
Doc/library/ftplib.rst
+1
-1
functions.rst
Doc/library/functions.rst
+1
-1
imputil.rst
Doc/library/imputil.rst
+1
-1
macosa.rst
Doc/library/macosa.rst
+4
-4
multiprocessing.rst
Doc/library/multiprocessing.rst
+5
-5
operator.rst
Doc/library/operator.rst
+1
-1
select.rst
Doc/library/select.rst
+2
-2
stdtypes.rst
Doc/library/stdtypes.rst
+1
-1
string.rst
Doc/library/string.rst
+1
-1
tix.rst
Doc/library/tix.rst
+2
-2
turtle.rst
Doc/library/turtle.rst
+2
-2
urllib2.rst
Doc/library/urllib2.rst
+1
-1
wsgiref.rst
Doc/library/wsgiref.rst
+1
-1
xmlrpclib.rst
Doc/library/xmlrpclib.rst
+2
-2
stdlib2.rst
Doc/tutorial/stdlib2.rst
+1
-1
windows.rst
Doc/using/windows.rst
+2
-2
2.6.rst
Doc/whatsnew/2.6.rst
+1
-1
No files found.
Doc/c-api/conversion.rst
Dosyayı görüntüle @
90f36730
...
...
@@ -89,15 +89,15 @@ The following functions provide locale-independent string to number conversions.
.. cfunction:: char * PyOS_stricmp(char *s1, char *s2)
Case insensitive compar
sion of strings. The functions
works almost
identical to :cfunc:`strcmp` except that it ignores the case.
Case insensitive compar
ison of strings. The function
works almost
identical
ly
to :cfunc:`strcmp` except that it ignores the case.
.. versionadded:: 2.6
.. cfunction:: char * PyOS_strnicmp(char *s1, char *s2, Py_ssize_t size)
Case insensitive compar
sion of strings. The functions
works almost
identical to :cfunc:`strncmp` except that it ignores the case.
Case insensitive compar
ison of strings. The function
works almost
identical
ly
to :cfunc:`strncmp` except that it ignores the case.
.. versionadded:: 2.6
Doc/extending/windows.rst
Dosyayı görüntüle @
90f36730
...
...
@@ -23,7 +23,7 @@ C++.
This chapter mentions a number of filenames that include an encoded Python
version number. These filenames are represented with the version number shown
as ``XY``; in practi
v
e, ``'X'`` will be the major version number and ``'Y'``
as ``XY``; in practi
c
e, ``'X'`` will be the major version number and ``'Y'``
will be the minor version number of the Python release you're working with. For
example, if you are using Python 2.2.1, ``XY`` will actually be ``22``.
...
...
Doc/library/__future__.rst
Dosyayı görüntüle @
90f36730
...
...
@@ -16,7 +16,7 @@
* To document when incompatible changes were introduced, and when they will be
--- or were --- made mandatory. This is a form of executable documentation, and
can be inspected programatically via importing :mod:`__future__` and examining
can be inspected program
m
atically via importing :mod:`__future__` and examining
its contents.
Each statement in :file:`__future__.py` is of the form::
...
...
Doc/library/ftplib.rst
Dosyayı görüntüle @
90f36730
...
...
@@ -316,7 +316,7 @@ followed by ``lines`` for the text version or ``binary`` for the binary version.
Send a ``QUIT`` command to the server and close the connection. This is the
"polite" way to close a connection, but it may raise an exception of the server
reponds with an error to the ``QUIT`` command. This implies a call to the
re
s
ponds with an error to the ``QUIT`` command. This implies a call to the
:meth:`close` method which renders the :class:`FTP` instance useless for
subsequent calls (see below).
...
...
Doc/library/functions.rst
Dosyayı görüntüle @
90f36730
...
...
@@ -1389,7 +1389,7 @@ There are several built-in functions that are no longer essential to learn, know
or
use
in
modern
Python
programming
.
They
have
been
kept
here
to
maintain
backwards
compatibility
with
programs
written
for
older
versions
of
Python
.
Python
programmers
,
trainers
,
students
and
bookwriters
should
feel
free
to
Python
programmers
,
trainers
,
students
and
book
writers
should
feel
free
to
bypass
these
functions
without
concerns
about
missing
something
important
.
...
...
Doc/library/imputil.rst
Dosyayı görüntüle @
90f36730
...
...
@@ -108,7 +108,7 @@ This is a re-implementation of hierarchical module import.
This code is intended to be read, not executed. However, it does work
-- all you need to do to enable it is "import knee".
(The name is a pun on the
k
lunkier predecessor of this module, "ni".)
(The name is a pun on the
c
lunkier predecessor of this module, "ni".)
::
...
...
Doc/library/macosa.rst
Dosyayı görüntüle @
90f36730
...
...
@@ -6,10 +6,10 @@ MacPython OSA Modules
*********************
This chapter describes the current implementation of the Open Scripting
Architec
ure (OSA, also commonly referred to as AppleScript) for Python, allowing
you to control scriptable applications from your Python program, and with a
fairly pythonic interface. Development on this set of modules has stopped, and a
replacement is expected for Python 2.5.
Architec
ture (OSA, also commonly referred to as AppleScript) for Python,
allowing you to control scriptable applications from your Python program,
and with a fairly pythonic interface. Development on this set of modules has
stopped, and a
replacement is expected for Python 2.5.
For a description of the various components of AppleScript and OSA, and to get
an understanding of the architecture and terminology, you should read Apple's
...
...
Doc/library/multiprocessing.rst
Dosyayı görüntüle @
90f36730
...
...
@@ -160,7 +160,7 @@ However, if you really do need to use some shared data then
The
``
'd'
``
and
``
'i'
``
arguments
used
when
creating
``
num
``
and
``
arr
``
are
typecodes
of
the
kind
used
by
the
:
mod
:`
array
`
module
:
``
'd'
``
indicates
a
double
precision
float
and
``
'i'
``
in
i
dicates
a
signed
integer
.
These
shared
double
precision
float
and
``
'i'
``
indicates
a
signed
integer
.
These
shared
objects
will
be
process
and
thread
safe
.
For
more
flexibility
in
using
shared
memory
one
can
use
the
...
...
@@ -784,7 +784,7 @@ object -- see :ref:`multiprocessing-managers`.
A
bounded
semaphore
object
:
a
clone
of
:
class
:`
threading
.
BoundedSemaphore
`.
(
On
Mac
OSX
this
is
indistiguishable
from
:
class
:`
Semaphore
`
because
(
On
Mac
OSX
this
is
indisti
n
guishable
from
:
class
:`
Semaphore
`
because
``
sem_getvalue
()``
is
not
implemented
on
that
platform
).
..
class
::
Condition
([
lock
])
...
...
@@ -893,8 +893,8 @@ processes.
..
note
::
Although
it
is
pos
ible
to
store
a
pointer
in
shared
memory
remember
that
this
will
refer
to
a
location
in
the
address
space
of
a
specific
process
.
Although
it
is
pos
sible
to
store
a
pointer
in
shared
memory
remember
that
this
will
refer
to
a
location
in
the
address
space
of
a
specific
process
.
However
,
the
pointer
is
quite
likely
to
be
invalid
in
the
context
of
a
second
process
and
trying
to
dereference
the
pointer
from
the
second
process
may
cause
a
crash
.
...
...
@@ -1776,7 +1776,7 @@ handler type) for messages from different processes to get mixed up.
handler
which
sends
output
to
:
data
:`
sys
.
stderr
`
using
format
``
'[%(levelname)s/%(processName)s] %(message)s'
``.
(
The
logger
allows
use
of
the
non
-
standard
``
'%(processName)s'
``
format
.)
Message
sent
to
this
logger
will
not
by
default
prop
o
gate
to
the
root
logger
.
will
not
by
default
prop
a
gate
to
the
root
logger
.
Note
that
on
Windows
child
processes
will
only
inherit
the
level
of
the
parent
process
's logger -- any other customization of the logger will not be
...
...
Doc/library/operator.rst
Dosyayı görüntüle @
90f36730
...
...
@@ -630,7 +630,7 @@ Python syntax and the functions in the :mod:`operator` module.
+-----------------------+-------------------------+---------------------------------+
| Right Shift | ``a >> b`` | ``rshift(a, b)`` |
+-----------------------+-------------------------+---------------------------------+
| Sequence Rep
i
tition | ``seq * i`` | ``repeat(seq, i)`` |
| Sequence Rep
e
tition | ``seq * i`` | ``repeat(seq, i)`` |
+-----------------------+-------------------------+---------------------------------+
| Slice Assignment | ``seq[i:j] = values`` | ``setslice(seq, i, j, values)`` |
+-----------------------+-------------------------+---------------------------------+
...
...
Doc/library/select.rst
Dosyayı görüntüle @
90f36730
...
...
@@ -338,7 +338,7 @@ http://www.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2
+---------------------------+---------------------------------------------+
| :const:`KQ_EV_DISABLE` | Disablesevent |
+---------------------------+---------------------------------------------+
| :const:`KQ_EV_ONESHOT` | Removes event after first occur
ence
|
| :const:`KQ_EV_ONESHOT` | Removes event after first occur
rence
|
+---------------------------+---------------------------------------------+
| :const:`KQ_EV_CLEAR` | Reset the state after an event is retrieved |
+---------------------------+---------------------------------------------+
...
...
@@ -373,7 +373,7 @@ http://www.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2
+============================+============================================+
| :const:`KQ_NOTE_DELETE` | *unlink()* was called |
+----------------------------+--------------------------------------------+
| :const:`KQ_NOTE_WRITE` | a write occur
ed
|
| :const:`KQ_NOTE_WRITE` | a write occur
red
|
+----------------------------+--------------------------------------------+
| :const:`KQ_NOTE_EXTEND` | the file was extended |
+----------------------------+--------------------------------------------+
...
...
Doc/library/stdtypes.rst
Dosyayı görüntüle @
90f36730
...
...
@@ -1543,7 +1543,7 @@ The constructors for both classes work the same:
.. method:: isdisjoint(other)
Return True if the set has no elements in common with *other*. Sets are
disjoint if and only if their inter
e
section is the empty set.
disjoint if and only if their intersection is the empty set.
.. versionadded:: 2.6
...
...
Doc/library/string.rst
Dosyayı görüntüle @
90f36730
...
...
@@ -293,7 +293,7 @@ Then the outer replacement field would be evaluated, producing::
"noses "
Which is subs
i
tituted into the string, yielding::
Which is substituted into the string, yielding::
"A man with two noses "
...
...
Doc/library/tix.rst
Dosyayı görüntüle @
90f36730
...
...
@@ -310,8 +310,8 @@ File Selectors
.. \ulink{FileEntry}{http://tix.sourceforge.net/dist/current/demos/samples/FileEnt.tcl}
Hierachical ListBox
^^^^^^^^^^^^^^^^^^^
Hiera
r
chical ListBox
^^^^^^^^^^^^^^^^^^^
^
.. class:: HList()
...
...
Doc/library/turtle.rst
Dosyayı görüntüle @
90f36730
...
...
@@ -1275,7 +1275,7 @@ Window control
... left(10)
...
>>> for _ in range(8):
... left(45); fd(2) # a regular oct
o
gon
... left(45); fd(2) # a regular oct
a
gon
Animation control
...
...
@@ -1286,7 +1286,7 @@ Animation control
:param delay: positive integer
Set or return the drawing *delay* in milliseconds. (This is approximately
the time interval between two consecutive
d
canvas updates.) The longer the
the time interval between two consecutive canvas updates.) The longer the
drawing delay, the slower the animation.
Optional argument:
...
...
Doc/library/urllib2.rst
Dosyayı görüntüle @
90f36730
...
...
@@ -923,7 +923,7 @@ involved. For example, the :envvar:`http_proxy` environment variable is read to
obtain the HTTP proxy's URL.
This example replaces the default :class:`ProxyHandler` with one that uses
programatically-supplied proxy URLs, and adds proxy authorization support with
program
m
atically-supplied proxy URLs, and adds proxy authorization support with
:class:`ProxyBasicAuthHandler`. ::
proxy_handler = urllib2.ProxyHandler({'http': 'http://www.example.com:3128/'})
...
...
Doc/library/wsgiref.rst
Dosyayı görüntüle @
90f36730
...
...
@@ -415,7 +415,7 @@ Paste" library.
from wsgiref.validate import validator
from wsgiref.simple_server import make_server
# Our callable object which is intentionally not comp
il
ant to the
# Our callable object which is intentionally not comp
li
ant to the
# standard, so the validator is going to break
def simple_app(environ, start_response):
status = '200 OK' # HTTP Status
...
...
Doc/library/xmlrpclib.rst
Dosyayı görüntüle @
90f36730
...
...
@@ -379,7 +379,7 @@ The client code for the preceding server::
try:
proxy.add(2, 5)
except xmlrpclib.Fault, err:
print "A fault occured"
print "A fault occur
r
ed"
print "Fault code: %d" % err.faultCode
print "Fault string: %s" % err.faultString
...
...
@@ -426,7 +426,7 @@ by providing an invalid URI::
try:
proxy.some_method()
except xmlrpclib.ProtocolError, err:
print "A protocol error occured"
print "A protocol error occur
r
ed"
print "URL: %s" % err.url
print "HTTP/HTTPS headers: %s" % err.headers
print "Error code: %d" % err.errcode
...
...
Doc/tutorial/stdlib2.rst
Dosyayı görüntüle @
90f36730
...
...
@@ -286,7 +286,7 @@ sometimes there is a need for alternative implementations with different
performance trade-offs.
The :mod:`array` module provides an :class:`array()` object that is like a list
that stores only homogenous data and stores it more compactly. The following
that stores only homogen
e
ous data and stores it more compactly. The following
example shows an array of numbers stored as two byte unsigned binary numbers
(typecode ``"H"``) rather than the usual 16 bytes per entry for regular lists of
python int objects::
...
...
Doc/using/windows.rst
Dosyayı görüntüle @
90f36730
...
...
@@ -188,7 +188,7 @@ of your Python installation directory). This suppresses the terminal window on
startup.
You can also make all ``.py`` scripts execute with :program:`pythonw.exe`,
setting this through the usual facilites, for example (might require
setting this through the usual facilit
i
es, for example (might require
administrative rights):
#. Launch a command prompt.
...
...
@@ -217,7 +217,7 @@ PyWin32
The `PyWin32 <http://python.net/crew/mhammond/win32/>`_ module by Mark Hammond
is a collection of modules for advanced Windows-specific support. This includes
utilites for:
utilit
i
es for:
* `Component Object Model <http://www.microsoft.com/com/>`_ (COM)
* Win32 API calls
...
...
Doc/whatsnew/2.6.rst
Dosyayı görüntüle @
90f36730
...
...
@@ -529,7 +529,7 @@ PEP 371: The ``multiprocessing`` Package
.. XXX I think this still needs help
:mod:`multiprocessing` makes it easy to distribute work over multiple processes.
Its API is simil
i
ar to that of :mod:`threading`. For example::
Its API is similar to that of :mod:`threading`. For example::
from multiprocessing import Process
...
...
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