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
6f18b987
Kaydet (Commit)
6f18b987
authored
Tem 04, 2011
tarafından
Senthil Kumaran
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix closes issue10403 - Let's not use members anymore.
üst
49d495fa
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
58 additions
and
57 deletions
+58
-57
cmd.rst
Doc/library/cmd.rst
+1
-1
cookie.rst
Doc/library/cookie.rst
+1
-1
curses.rst
Doc/library/curses.rst
+2
-2
datetime.rst
Doc/library/datetime.rst
+0
-0
decimal.rst
Doc/library/decimal.rst
+1
-1
doctest.rst
Doc/library/doctest.rst
+9
-10
gzip.rst
Doc/library/gzip.rst
+1
-1
htmllib.rst
Doc/library/htmllib.rst
+1
-1
io.rst
Doc/library/io.rst
+2
-2
os.rst
Doc/library/os.rst
+6
-5
pyclbr.rst
Doc/library/pyclbr.rst
+2
-2
repr.rst
Doc/library/repr.rst
+1
-1
shlex.rst
Doc/library/shlex.rst
+6
-6
socketserver.rst
Doc/library/socketserver.rst
+1
-1
stdtypes.rst
Doc/library/stdtypes.rst
+1
-1
subprocess.rst
Doc/library/subprocess.rst
+15
-14
tempfile.rst
Doc/library/tempfile.rst
+1
-1
urllib2.rst
Doc/library/urllib2.rst
+2
-2
xdrlib.rst
Doc/library/xdrlib.rst
+1
-1
xmlrpclib.rst
Doc/library/xmlrpclib.rst
+3
-3
2.5.rst
Doc/whatsnew/2.5.rst
+1
-1
No files found.
Doc/library/cmd.rst
Dosyayı görüntüle @
6f18b987
...
...
@@ -56,7 +56,7 @@ A :class:`Cmd` instance has the following methods:
the line as argument.
The optional argument is a banner or intro string to be issued before the first
prompt (this overrides the :attr:`intro` class
member
).
prompt (this overrides the :attr:`intro` class
attribute
).
If the :mod:`readline` module is loaded, input will automatically inherit
:program:`bash`\ -like history-list editing (e.g. :kbd:`Control-P` scrolls back
...
...
Doc/library/cookie.rst
Dosyayı görüntüle @
6f18b987
...
...
@@ -191,7 +191,7 @@ Morsel Objects
.. method:: Morsel.set(key, value, coded_value)
Set the *key*, *value* and *coded_value*
member
s.
Set the *key*, *value* and *coded_value*
attribute
s.
.. method:: Morsel.isReservedKey(K)
...
...
Doc/library/curses.rst
Dosyayı görüntüle @
6f18b987
...
...
@@ -1644,7 +1644,7 @@ You can instantiate a :class:`Textbox` object as follows:
each keystroke entered with the keystroke as a parameter; command dispatch
is done on the result. This method returns the window contents as a
string; whether blanks in the window are included is affected by the
:attr:`stripspaces`
member
.
:attr:`stripspaces`
attribute
.
.. method:: do_command(ch)
...
...
@@ -1716,7 +1716,7 @@ You can instantiate a :class:`Textbox` object as follows:
.. attribute:: stripspaces
This
data member
is a flag which controls the interpretation of blanks in
This
attribute
is a flag which controls the interpretation of blanks in
the window. When it is on, trailing blanks on each line are ignored; any
cursor motion that would land the cursor on a trailing blank goes to the
end of that line instead, and trailing blanks are stripped when the window
...
...
Doc/library/datetime.rst
Dosyayı görüntüle @
6f18b987
This diff is collapsed.
Click to expand it.
Doc/library/decimal.rst
Dosyayı görüntüle @
6f18b987
...
...
@@ -742,7 +742,7 @@ Decimal objects
Normalize the number by stripping the rightmost trailing zeros and
converting any result equal to :const:`Decimal('0')` to
:const:`Decimal('0e0')`. Used for producing canonical values for
member
s
:const:`Decimal('0e0')`. Used for producing canonical values for
attribute
s
of an equivalence class. For example, ``Decimal('32.100')`` and
``Decimal('0.321000e+2')`` both normalize to the equivalent value
``Decimal('32.1')``.
...
...
Doc/library/doctest.rst
Dosyayı görüntüle @
6f18b987
...
...
@@ -1199,12 +1199,11 @@ DocTest Objects
..
class
::
DocTest
(
examples
,
globs
,
name
,
filename
,
lineno
,
docstring
)
A
collection
of
doctest
examples
that
should
be
run
in
a
single
namespace
.
The
constructor
arguments
are
used
to
initialize
the
member
variables
of
the
same
names
.
constructor
arguments
are
used
to
initialize
the
attributes
of
the
same
names
.
..
versionadded
::
2.4
:
class
:`
DocTest
`
defines
the
following
member
variabl
es
.
They
are
initialized
by
:
class
:`
DocTest
`
defines
the
following
attribut
es
.
They
are
initialized
by
the
constructor
,
and
should
not
be
modified
directly
.
...
...
@@ -1257,12 +1256,12 @@ Example Objects
..
class
::
Example
(
source
,
want
[,
exc_msg
][,
lineno
][,
indent
][,
options
])
A
single
interactive
example
,
consisting
of
a
Python
statement
and
its
expected
output
.
The
constructor
arguments
are
used
to
initialize
the
member
variables
of
the
same
names
.
output
.
The
constructor
arguments
are
used
to
initialize
the
attributes
of
the
same
names
.
..
versionadded
::
2.4
:
class
:`
Example
`
defines
the
following
member
variabl
es
.
They
are
initialized
by
:
class
:`
Example
`
defines
the
following
attribut
es
.
They
are
initialized
by
the
constructor
,
and
should
not
be
modified
directly
.
...
...
@@ -1770,9 +1769,9 @@ There are two exceptions that may be raised by :class:`DebugRunner` instances:
An
exception
raised
by
:
class
:`
DocTestRunner
`
to
signal
that
a
doctest
example
's
actual output did not match its expected output. The constructor arguments are
used to initialize the
member variabl
es of the same names.
used to initialize the
attribut
es of the same names.
:exc:`DocTestFailure` defines the following
member variabl
es:
:exc:`DocTestFailure` defines the following
attribut
es:
.. attribute:: DocTestFailure.test
...
...
@@ -1794,9 +1793,9 @@ There are two exceptions that may be raised by :class:`DebugRunner` instances:
An
exception
raised
by
:
class
:`
DocTestRunner
`
to
signal
that
a
doctest
example
raised
an
unexpected
exception
.
The
constructor
arguments
are
used
to
initialize
the
member
variabl
es
of
the
same
names
.
to
initialize
the
attribut
es
of
the
same
names
.
:
exc
:`
UnexpectedException
`
defines
the
following
member
variabl
es
:
:
exc
:`
UnexpectedException
`
defines
the
following
attribut
es
:
..
attribute
::
UnexpectedException
.
test
...
...
Doc/library/gzip.rst
Dosyayı görüntüle @
6f18b987
...
...
@@ -58,7 +58,7 @@ The module defines the following items:
time is used. This module ignores the timestamp when decompressing;
however, some programs, such as :program:`gunzip`\ , make use of it.
The format of the timestamp is the same as that of the return value of
``time.time()`` and of the ``st_mtime``
member
of the object returned
``time.time()`` and of the ``st_mtime``
attribute
of the object returned
by ``os.stat()``.
Calling a :class:`GzipFile` object's :meth:`close` method does not close
...
...
Doc/library/htmllib.rst
Dosyayı görüntüle @
6f18b987
...
...
@@ -168,7 +168,7 @@ additional methods and instance variables for use within tag methods.
This module defines three dictionaries, ``name2codepoint``, ``codepoint2name``,
and ``entitydefs``. ``entitydefs`` is used by the :mod:`htmllib` module to
provide the :attr:`entitydefs`
member
of the :class:`HTMLParser` class. The
provide the :attr:`entitydefs`
attribute
of the :class:`HTMLParser` class. The
definition provided here contains all the entities defined by XHTML 1.0 that
can be handled using simple textual substitution in the Latin-1 character set
(ISO-8859-1).
...
...
Doc/library/io.rst
Dosyayı görüntüle @
6f18b987
...
...
@@ -407,8 +407,8 @@ I/O Base Classes
:class:`RawIOBase` implementation, but wrap one, like
:class:`BufferedWriter` and :class:`BufferedReader` do.
:class:`BufferedIOBase` provides or overrides these me
mbers in addition to
those from :class:`IOBase`:
:class:`BufferedIOBase` provides or overrides these me
thods and attribute in
addition to
those from :class:`IOBase`:
.. attribute:: raw
...
...
Doc/library/os.rst
Dosyayı görüntüle @
6f18b987
...
...
@@ -1388,11 +1388,12 @@ Files and Directories
.. note::
The exact meaning and resolution of the :attr:`st_atime`, :attr:`st_mtime`, and
:attr:`st_ctime` members depends on the operating system and the file system.
For example, on Windows systems using the FAT or FAT32 file systems,
:attr:`st_mtime` has 2-second resolution, and :attr:`st_atime` has only 1-day
resolution. See your operating system documentation for details.
The exact meaning and resolution of the :attr:`st_atime`,
:attr:`st_mtime`, and :attr:`st_ctime` attributes depend on the operating
system and the file system. For example, on Windows systems using the FAT
or FAT32 file systems, :attr:`st_mtime` has 2-second resolution, and
:attr:`st_atime` has only 1-day resolution. See your operating system
documentation for details.
For backward compatibility, the return value of :func:`~os.stat` is also accessible
as a tuple of at least 10 integers giving the most important (and portable)
...
...
Doc/library/pyclbr.rst
Dosyayı görüntüle @
6f18b987
...
...
@@ -43,7 +43,7 @@ Class Objects
The :class:`Class` objects used as values in the dictionary returned by
:func:`readmodule` and :func:`readmodule_ex` provide the following data
member
s:
attribute
s:
.. attribute:: Class.module
...
...
@@ -87,7 +87,7 @@ Function Objects
----------------
The :class:`Function` objects used as values in the dictionary returned by
:func:`readmodule_ex` provide the following
data member
s:
:func:`readmodule_ex` provide the following
attribute
s:
.. attribute:: Function.module
...
...
Doc/library/repr.rst
Dosyayı görüntüle @
6f18b987
...
...
@@ -49,7 +49,7 @@ This module provides a class, an instance, and a function:
Repr Objects
------------
:class:`Repr` instances provide several
member
s which can be used to provide
:class:`Repr` instances provide several
attribute
s which can be used to provide
size limits for the representations of different object types, and methods
which format specific object types.
...
...
Doc/library/shlex.rst
Dosyayı görüntüle @
6f18b987
...
...
@@ -28,8 +28,8 @@ The :mod:`shlex` module defines the following functions:
Split the string *s* using shell-like syntax. If *comments* is :const:`False`
(the default), the parsing of comments in the given string will be disabled
(setting the :attr:`commenters`
member of the :class:`shlex` instance to the
empty string). This function operates in POSIX mode by default, but uses
(setting the :attr:`commenters`
attribute of the :class:`shlex` instance to
the
empty string). This function operates in POSIX mode by default, but uses
non-POSIX mode if the *posix* argument is false.
.. versionadded:: 2.3
...
...
@@ -53,7 +53,7 @@ The :mod:`shlex` module defines the following class:
:meth:`readline` methods, or a string (strings are accepted since Python 2.3).
If no argument is given, input will be taken from ``sys.stdin``. The second
optional argument is a filename string, which sets the initial value of the
:attr:`infile`
member
. If the *instream* argument is omitted or equal to
:attr:`infile`
attribute
. If the *instream* argument is omitted or equal to
``sys.stdin``, this second argument defaults to "stdin". The *posix* argument
was introduced in Python 2.3, and defines the operational mode. When *posix* is
not true (default), the :class:`shlex` instance will operate in compatibility
...
...
@@ -221,8 +221,8 @@ either control lexical analysis or can be used for debugging:
.. attribute:: shlex.source
This
member is ``None`` by default. If you assign a string to it, that string
will be recognized as a lexical-level inclusion request similar to the
This
attribute is ``None`` by default. If you assign a string to it, that
string
will be recognized as a lexical-level inclusion request similar to the
``source`` keyword in various shells. That is, the immediately following token
will opened as a filename and input taken from that stream until EOF, at which
point the :meth:`close` method of that stream will be called and the input
...
...
@@ -232,7 +232,7 @@ either control lexical analysis or can be used for debugging:
.. attribute:: shlex.debug
If this
member
is numeric and ``1`` or more, a :class:`shlex` instance will
If this
attribute
is numeric and ``1`` or more, a :class:`shlex` instance will
print verbose progress output on its behavior. If you need to use this, you can
read the module source code to learn the details.
...
...
Doc/library/socketserver.rst
Dosyayı görüntüle @
6f18b987
...
...
@@ -85,7 +85,7 @@ a threading UDP server class is created as follows::
class ThreadingUDPServer(ThreadingMixIn, UDPServer): pass
The mix-in class must come first, since it overrides a method defined in
:class:`UDPServer`. Setting the various
member variables also changes
the
:class:`UDPServer`. Setting the various
attributes also change
the
behavior of the underlying server mechanism.
To implement a service, you must derive a class from :class:`BaseRequestHandler`
...
...
Doc/library/stdtypes.rst
Dosyayı görüntüle @
6f18b987
...
...
@@ -2787,7 +2787,7 @@ statement is not, strictly speaking, an operation on a module object; ``import
foo`` does not require a module object named *foo* to exist, rather it requires
an (external) *definition* for a module named *foo* somewhere.)
A special
member
of every module is :attr:`__dict__`. This is the dictionary
A special
attribute
of every module is :attr:`__dict__`. This is the dictionary
containing the module's symbol table. Modifying this dictionary will actually
change the module's symbol table, but direct assignment to the :attr:`__dict__`
attribute is not possible (you can write ``m.__dict__['a'] = 1``, which defines
...
...
Doc/library/subprocess.rst
Dosyayı görüntüle @
6f18b987
...
...
@@ -428,38 +428,39 @@ on Windows.
.. attribute:: dwFlags
A bit field that determines whether certain :class:`STARTUPINFO`
members
are used when the process creates a window. ::
A bit field that determines whether certain :class:`STARTUPINFO`
a
ttributes a
re used when the process creates a window. ::
si = subprocess.STARTUPINFO()
si.dwFlags = subprocess.STARTF_USESTDHANDLES | subprocess.STARTF_USESHOWWINDOW
.. attribute:: hStdInput
If :attr:`dwFlags` specifies :data:`STARTF_USESTDHANDLES`, this member is
the standard input handle for the process. If :data:`STARTF_USESTDHANDLES`
is not specified, the default for standard input is the keyboard buffer.
If :attr:`dwFlags` specifies :data:`STARTF_USESTDHANDLES`, this attribute
is the standard input handle for the process. If
:data:`STARTF_USESTDHANDLES` is not specified, the default for standard
input is the keyboard buffer.
.. attribute:: hStdOutput
If :attr:`dwFlags` specifies :data:`STARTF_USESTDHANDLES`, this
member is
the standard output handle for the process. Otherwise, this member is
ignored and the default for standard output is the console window's
If :attr:`dwFlags` specifies :data:`STARTF_USESTDHANDLES`, this
attribute
is the standard output handle for the process. Otherwise, this attribute
i
s i
gnored and the default for standard output is the console window's
buffer.
.. attribute:: hStdError
If :attr:`dwFlags` specifies :data:`STARTF_USESTDHANDLES`, this
member is
the standard error handle for the process. Otherwise, this member
is
If :attr:`dwFlags` specifies :data:`STARTF_USESTDHANDLES`, this
attribute
is the standard error handle for the process. Otherwise, this attribute
is
ignored and the default for standard error is the console window's buffer.
.. attribute:: wShowWindow
If :attr:`dwFlags` specifies :data:`STARTF_USESHOWWINDOW`, this
member
If :attr:`dwFlags` specifies :data:`STARTF_USESHOWWINDOW`, this
attribute
can be any of the values that can be specified in the ``nCmdShow``
parameter for the
`ShowWindow <http://msdn.microsoft.com/en-us/library/ms633548(v=vs.85).aspx>`__
function, except for ``SW_SHOWDEFAULT``. Otherwise, this
member
is
function, except for ``SW_SHOWDEFAULT``. Otherwise, this
attribute
is
ignored.
:data:`SW_HIDE` is provided for this attribute. It is used when
...
...
@@ -493,12 +494,12 @@ The :mod:`subprocess` module exposes the following constants.
.. data:: STARTF_USESTDHANDLES
Specifies that the :attr:`STARTUPINFO.hStdInput`,
:attr:`STARTUPINFO.hStdOutput`, and :attr:`STARTUPINFO.hStdError`
member
s
:attr:`STARTUPINFO.hStdOutput`, and :attr:`STARTUPINFO.hStdError`
attribute
s
contain additional information.
.. data:: STARTF_USESHOWWINDOW
Specifies that the :attr:`STARTUPINFO.wShowWindow`
member
contains
Specifies that the :attr:`STARTUPINFO.wShowWindow`
attribute
contains
additional information.
.. data:: CREATE_NEW_CONSOLE
...
...
Doc/library/tempfile.rst
Dosyayı görüntüle @
6f18b987
...
...
@@ -61,7 +61,7 @@ The module defines the following user-callable functions:
This function operates exactly as :func:`TemporaryFile` does, except that
the file is guaranteed to have a visible name in the file system (on
Unix, the directory entry is not unlinked). That name can be retrieved
from the :attr:`name`
member
of the file object. Whether the name can be
from the :attr:`name`
attribute
of the file object. Whether the name can be
used to open the file a second time, while the named temporary file is
still open, varies across platforms (it can be so used on Unix; it cannot
on Windows NT or later). If *delete* is true (the default), the file is
...
...
Doc/library/urllib2.rst
Dosyayı görüntüle @
6f18b987
...
...
@@ -90,7 +90,7 @@ The :mod:`urllib2` module defines the following functions:
:class:`HTTPSHandler` will also be added.
Beginning in Python 2.3, a :class:`BaseHandler` subclass may also change its
:attr:`handler_order`
member variabl
e to modify its position in the handlers
:attr:`handler_order`
attribut
e to modify its position in the handlers
list.
The following exceptions are raised as appropriate:
...
...
@@ -495,7 +495,7 @@ intended for direct use:
Remove any parents.
The following
member
s and methods should only be used by classes derived from
The following
attribute
s and methods should only be used by classes derived from
:class:`BaseHandler`.
.. note::
...
...
Doc/library/xdrlib.rst
Dosyayı görüntüle @
6f18b987
...
...
@@ -257,7 +257,7 @@ Exceptions in this module are coded as class instances:
.. exception:: Error
The base exception class. :exc:`Error` has a single public
data member
The base exception class. :exc:`Error` has a single public
attribute
:attr:`msg` containing the description of the error.
...
...
Doc/library/xmlrpclib.rst
Dosyayı görüntüle @
6f18b987
...
...
@@ -148,7 +148,7 @@ returning a value, which may be either returned data in a conformant type or a
:class:`Fault` or :class:`ProtocolError` object indicating an error.
Servers that support the XML introspection API support some common methods
grouped under the reserved :attr:`system`
member
:
grouped under the reserved :attr:`system`
attribute
:
.. method:: ServerProxy.system.listMethods()
...
...
@@ -341,7 +341,7 @@ Fault Objects
-------------
A :class:`Fault` object encapsulates the content of an XML-RPC fault tag. Fault
objects have the following
member
s:
objects have the following
attribute
s:
.. attribute:: Fault.faultCode
...
...
@@ -390,7 +390,7 @@ ProtocolError Objects
A :class:`ProtocolError` object describes a protocol error in the underlying
transport layer (such as a 404 'not found' error if the server named by the URI
does not exist). It has the following
member
s:
does not exist). It has the following
attribute
s:
.. attribute:: ProtocolError.url
...
...
Doc/whatsnew/2.5.rst
Dosyayı görüntüle @
6f18b987
...
...
@@ -1459,7 +1459,7 @@ complete list of changes, or look through the SVN logs for all the details.
On FreeBSD, the :func:`os.stat` function now returns times with nanosecond
resolution, and the returned object now has :attr:`st_gen` and
:attr:`st_birthtime`. The :attr:`st_flags`
member
is also available, if the
:attr:`st_birthtime`. The :attr:`st_flags`
attribute
is also available, if the
platform supports it. (Contributed by Antti Louko and Diego Pettenò.)
.. (Patch 1180695, 1212117)
...
...
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