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
0f0eac43
Kaydet (Commit)
0f0eac43
authored
8 years ago
tarafından
Martin Panter
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #27993: Fix problems with plural objects in docs and comments
üst
0be894b2
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
10 additions
and
11 deletions
+10
-11
argparse.rst
Doc/library/argparse.rst
+2
-2
weakref.rst
Doc/library/weakref.rst
+1
-1
xml.dom.rst
Doc/library/xml.dom.rst
+1
-1
inspect.py
Lib/inspect.py
+2
-3
test_decode.py
Lib/test/test_json/test_decode.py
+1
-1
HISTORY
Misc/HISTORY
+1
-1
NEWS
Misc/NEWS
+2
-2
No files found.
Doc/library/argparse.rst
Dosyayı görüntüle @
0f0eac43
...
...
@@ -188,7 +188,7 @@ The following sections describe how each of these are used.
prog
^^^^
By default, :class:`ArgumentParser` objects use
s
``sys.argv[0]`` to determine
By default, :class:`ArgumentParser` objects use ``sys.argv[0]`` to determine
how to display the name of the program in help messages. This default is almost
always desirable because it will make the help messages match how the program was
invoked on the command line. For example, consider a file named
...
...
@@ -558,7 +558,7 @@ conflict_handler
^^^^^^^^^^^^^^^^
:class:`ArgumentParser` objects do not allow two actions with the same option
string. By default, :class:`ArgumentParser` objects raise
s
an exception if an
string. By default, :class:`ArgumentParser` objects raise an exception if an
attempt is made to create an argument with an option string that is already in
use::
...
...
This diff is collapsed.
Click to expand it.
Doc/library/weakref.rst
Dosyayı görüntüle @
0f0eac43
...
...
@@ -414,7 +414,7 @@ the referent is accessed::
Example
-------
This simple example shows how an application can use object
s
IDs to retrieve
This simple example shows how an application can use object IDs to retrieve
objects that it has seen before. The IDs of the objects can then be used in
other data structures without forcing the objects to remain alive, but the
objects can still be retrieved by ID if they do.
...
...
This diff is collapsed.
Click to expand it.
Doc/library/xml.dom.rst
Dosyayı görüntüle @
0f0eac43
...
...
@@ -404,7 +404,7 @@ NodeList Objects
^^^^^^^^^^^^^^^^
A :class:`NodeList` represents a sequence of nodes. These objects are used in
two ways in the DOM Core recommendation:
the :class:`Element` objects
provides
two ways in the DOM Core recommendation:
an :class:`Element` object
provides
one as its list of child nodes, and the :meth:`getElementsByTagName` and
:meth:`getElementsByTagNameNS` methods of :class:`Node` return objects with this
interface to represent query results.
...
...
This diff is collapsed.
Click to expand it.
Lib/inspect.py
Dosyayı görüntüle @
0f0eac43
...
...
@@ -171,9 +171,8 @@ def isfunction(object):
def
isgeneratorfunction
(
object
):
"""Return true if the object is a user-defined generator function.
Generator function objects provides same attributes as functions.
See help(isfunction) for attributes listing."""
Generator function objects provide the same attributes as functions.
See help(isfunction) for a list of attributes."""
return
bool
((
isfunction
(
object
)
or
ismethod
(
object
))
and
object
.
__code__
.
co_flags
&
CO_GENERATOR
)
...
...
This diff is collapsed.
Click to expand it.
Lib/test/test_json/test_decode.py
Dosyayı görüntüle @
0f0eac43
...
...
@@ -35,7 +35,7 @@ class TestDecode:
self
.
assertEqual
(
self
.
loads
(
s
,
object_pairs_hook
=
OrderedDict
,
object_hook
=
lambda
x
:
None
),
OrderedDict
(
p
))
# check that empty object
s
literals work (see #17368)
# check that empty object literals work (see #17368)
self
.
assertEqual
(
self
.
loads
(
'{}'
,
object_pairs_hook
=
OrderedDict
),
OrderedDict
())
self
.
assertEqual
(
self
.
loads
(
'{"empty": {}}'
,
...
...
This diff is collapsed.
Click to expand it.
Misc/HISTORY
Dosyayı görüntüle @
0f0eac43
...
...
@@ -26057,7 +26057,7 @@ machinery is moved to the new file importdl.c.
module implementing deepcopy and normal (shallow) copy operations.
See the library reference manual.
- Documentation strings for many object
s
types are accessible through
- Documentation strings for many object types are accessible through
the __doc__ attribute. Modules, classes and functions support special
syntax to initialize the __doc__ attribute: if the first statement
consists of just a string literal, that string literal becomes the
This diff is collapsed.
Click to expand it.
Misc/NEWS
Dosyayı görüntüle @
0f0eac43
...
...
@@ -4771,7 +4771,7 @@ Core and Builtins
- Issue #20588: Make Python-ast.c C89 compliant.
- Issue #20437: Fixed 22 potential bugs when deleting object
s
references.
- Issue #20437: Fixed 22 potential bugs when deleting object references.
- Issue #20500: Displaying an exception at interpreter shutdown no longer
risks triggering an assertion failure in PyObject_Str.
...
...
@@ -5676,7 +5676,7 @@ Core and Builtins
when the creation of the replacement exception won'
t
lose
any
information
.
-
Issue
#
19466
:
Clear
the
frames
of
daemon
threads
earlier
during
the
Python
shutdown
to
call
object
s
destructors
.
So
"unclosed file"
resource
Python
shutdown
to
call
object
destructors
.
So
"unclosed file"
resource
warnings
are
now
correctly
emitted
for
daemon
threads
.
-
Issue
#
19514
:
Deduplicate
some
_Py_IDENTIFIER
declarations
.
...
...
This diff is collapsed.
Click to expand it.
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