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
27c70598
Kaydet (Commit)
27c70598
authored
May 30, 2006
tarafından
Tim Peters
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Whitespace normalization.
üst
aba19bc4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
6 deletions
+5
-6
doctest.py
Lib/doctest.py
+3
-3
functools.py
Lib/functools.py
+1
-2
systimes.py
Tools/pybench/systimes.py
+1
-1
No files found.
Lib/doctest.py
Dosyayı görüntüle @
27c70598
...
...
@@ -1939,7 +1939,7 @@ def testfile(filename, module_relative=True, name=None, package=None,
Optional keyword arg "encoding" specifies an encoding that should
be used to convert the file to unicode.
Advanced tomfoolery: testmod runs methods of a local instance of
class doctest.Tester, then merges the results into (or creates)
global Tester instance doctest.master. Methods of doctest.master
...
...
@@ -2366,7 +2366,7 @@ def DocFileTest(path, module_relative=True, package=None,
# Find the file and read it.
name
=
os
.
path
.
basename
(
path
)
# If an encoding is specified, use it to convert the file to unicode
if
encoding
is
not
None
:
doc
=
doc
.
decode
(
encoding
)
...
...
@@ -2427,7 +2427,7 @@ def DocFileSuite(*paths, **kw):
parser
A DocTestParser (or subclass) that should be used to extract
tests from the files.
encoding
An encoding that will be used to convert the files to unicode.
"""
...
...
Lib/functools.py
Dosyayı görüntüle @
27c70598
...
...
@@ -23,4 +23,4 @@ __all__ = [
# The wraps function makes it easy to avoid the bug that afflicts the
# decorator example in the python-dev email proposing the
# update_wrapper function:
# http://mail.python.org/pipermail/python-dev/2006-May/064775.html
\ No newline at end of file
# http://mail.python.org/pipermail/python-dev/2006-May/064775.html
Tools/pybench/systimes.py
Dosyayı görüntüle @
27c70598
...
...
@@ -179,7 +179,7 @@ def test_workload():
print
'after:'
,
t1
print
'differences:'
,
(
t1
[
0
]
-
t0
[
0
],
t1
[
1
]
-
t0
[
1
])
print
def
test_idle
():
print
'Testing systimes() under idle conditions'
t0
=
systimes
()
...
...
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