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
1e94021e
Kaydet (Commit)
1e94021e
authored
May 26, 2011
tarafından
Benjamin Peterson
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
merge heads
üst
4fa68ab1
8fcda682
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
4 deletions
+6
-4
style.rst
Doc/documenting/style.rst
+2
-2
HTMLParser.py
Lib/HTMLParser.py
+1
-1
test_sdist.py
Lib/distutils/tests/test_sdist.py
+2
-0
pkgutil.py
Lib/pkgutil.py
+1
-1
No files found.
Doc/documenting/style.rst
Dosyayı görüntüle @
1e94021e
...
@@ -92,7 +92,7 @@ Good example (establishing confident knowledge in the effective use of the langu
...
@@ -92,7 +92,7 @@ Good example (establishing confident knowledge in the effective use of the langu
Economy of Expression
Economy of Expression
---------------------
---------------------
More documentation is not necessarily better documentation. Err
or
on the side
More documentation is not necessarily better documentation. Err on the side
of being succinct.
of being succinct.
It is an unfortunate fact that making documentation longer can be an impediment
It is an unfortunate fact that making documentation longer can be an impediment
...
@@ -154,7 +154,7 @@ Audience
...
@@ -154,7 +154,7 @@ Audience
The
tone
of
the
tutorial
(
and
all
the
docs
)
needs
to
be
respectful
of
the
The
tone
of
the
tutorial
(
and
all
the
docs
)
needs
to
be
respectful
of
the
reader
's intelligence. Don'
t
presume
that
the
readers
are
stupid
.
Lay
out
the
reader
's intelligence. Don'
t
presume
that
the
readers
are
stupid
.
Lay
out
the
relevant
information
,
show
motivating
use
cases
,
provide
glossary
links
,
and
do
relevant
information
,
show
motivating
use
cases
,
provide
glossary
links
,
and
do
our
best
to
connect
-
the
-
dots
,
but
don
't talk down to them or waste their time.
your
best
to
connect
the
dots
,
but
don
't talk down to them or waste their time.
The tutorial is meant for newcomers, many of whom will be using the tutorial to
The tutorial is meant for newcomers, many of whom will be using the tutorial to
evaluate the language as a whole. The experience needs to be positive and not
evaluate the language as a whole. The experience needs to be positive and not
...
...
Lib/HTMLParser.py
Dosyayı görüntüle @
1e94021e
...
@@ -99,7 +99,7 @@ class HTMLParser(markupbase.ParserBase):
...
@@ -99,7 +99,7 @@ class HTMLParser(markupbase.ParserBase):
markupbase
.
ParserBase
.
reset
(
self
)
markupbase
.
ParserBase
.
reset
(
self
)
def
feed
(
self
,
data
):
def
feed
(
self
,
data
):
"""Feed data to the parser.
r
"""Feed data to the parser.
Call this as often as you want, with as little or as much text
Call this as often as you want, with as little or as much text
as you want (may include '\n').
as you want (may include '\n').
...
...
Lib/distutils/tests/test_sdist.py
Dosyayı görüntüle @
1e94021e
...
@@ -388,6 +388,7 @@ class SDistTestCase(PyPIRCCommandTestCase):
...
@@ -388,6 +388,7 @@ class SDistTestCase(PyPIRCCommandTestCase):
self
.
assertEqual
(
len
(
manifest2
),
6
)
self
.
assertEqual
(
len
(
manifest2
),
6
)
self
.
assertIn
(
'doc2.txt'
,
manifest2
[
-
1
])
self
.
assertIn
(
'doc2.txt'
,
manifest2
[
-
1
])
@unittest.skipUnless
(
zlib
,
"requires zlib"
)
def
test_manifest_marker
(
self
):
def
test_manifest_marker
(
self
):
# check that autogenerated MANIFESTs have a marker
# check that autogenerated MANIFESTs have a marker
dist
,
cmd
=
self
.
get_cmd
()
dist
,
cmd
=
self
.
get_cmd
()
...
@@ -404,6 +405,7 @@ class SDistTestCase(PyPIRCCommandTestCase):
...
@@ -404,6 +405,7 @@ class SDistTestCase(PyPIRCCommandTestCase):
self
.
assertEqual
(
manifest
[
0
],
self
.
assertEqual
(
manifest
[
0
],
'# file GENERATED by distutils, do NOT edit'
)
'# file GENERATED by distutils, do NOT edit'
)
@unittest.skipUnless
(
zlib
,
"requires zlib"
)
def
test_manual_manifest
(
self
):
def
test_manual_manifest
(
self
):
# check that a MANIFEST without a marker is left alone
# check that a MANIFEST without a marker is left alone
dist
,
cmd
=
self
.
get_cmd
()
dist
,
cmd
=
self
.
get_cmd
()
...
...
Lib/pkgutil.py
Dosyayı görüntüle @
1e94021e
...
@@ -11,7 +11,7 @@ from types import ModuleType
...
@@ -11,7 +11,7 @@ from types import ModuleType
__all__
=
[
__all__
=
[
'get_importer'
,
'iter_importers'
,
'get_loader'
,
'find_loader'
,
'get_importer'
,
'iter_importers'
,
'get_loader'
,
'find_loader'
,
'walk_packages'
,
'iter_modules'
,
'walk_packages'
,
'iter_modules'
,
'get_data'
,
'ImpImporter'
,
'ImpLoader'
,
'read_code'
,
'extend_path'
,
'ImpImporter'
,
'ImpLoader'
,
'read_code'
,
'extend_path'
,
]
]
...
...
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