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
280488b9
Kaydet (Commit)
280488b9
authored
Agu 23, 2002
tarafından
Tim Peters
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Whitespace normalization.
üst
fa8dd5f4
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
15 additions
and
15 deletions
+15
-15
dis.py
Lib/dis.py
+1
-1
Charset.py
Lib/email/Charset.py
+1
-1
Message.py
Lib/email/Message.py
+3
-3
Parser.py
Lib/email/Parser.py
+5
-5
string_escape.py
Lib/encodings/string_escape.py
+1
-1
pdb.py
Lib/pdb.py
+1
-1
CallTips.py
Tools/idle/CallTips.py
+1
-1
IOBinding.py
Tools/idle/IOBinding.py
+1
-1
ScriptBinding.py
Tools/idle/ScriptBinding.py
+1
-1
No files found.
Lib/dis.py
Dosyayı görüntüle @
280488b9
...
...
@@ -68,7 +68,7 @@ def disassemble(co, lasti=-1):
table_index
+=
1
addr
=
0
line_incr
=
0
labels
=
findlabels
(
code
)
n
=
len
(
code
)
i
=
0
...
...
Lib/email/Charset.py
Dosyayı görüntüle @
280488b9
...
...
@@ -11,7 +11,7 @@ else:
from
types
import
UnicodeType
def
_is_unicode
(
x
):
return
isinstance
(
x
,
UnicodeType
)
from
email.Encoders
import
encode_7or8bit
import
email.base64MIME
import
email.quopriMIME
...
...
Lib/email/Message.py
Dosyayı görüntüle @
280488b9
...
...
@@ -52,12 +52,12 @@ def _formatparam(param, value=None, quote=1):
def
_unquotevalue
(
value
):
if
isinstance
(
value
,
TupleType
):
return
(
value
[
0
],
value
[
1
],
Utils
.
unquote
(
value
[
2
]))
return
(
value
[
0
],
value
[
1
],
Utils
.
unquote
(
value
[
2
]))
else
:
return
Utils
.
unquote
(
value
)
return
Utils
.
unquote
(
value
)
class
Message
:
"""Basic message object for use inside the object tree.
...
...
Lib/email/Parser.py
Dosyayı görüntüle @
280488b9
...
...
@@ -129,7 +129,7 @@ class Parser:
# boundary.
separator
=
'--'
+
boundary
payload
=
fp
.
read
()
# We use an RE here because boundaries can have trailing
# We use an RE here because boundaries can have trailing
# whitespace.
mo
=
re
.
search
(
r'(?P<sep>'
+
re
.
escape
(
separator
)
+
r')(?P<ws>[ \t]*)'
,
...
...
@@ -176,15 +176,15 @@ class Parser:
terminator
=
len
(
payload
)
# We split the textual payload on the boundary separator, which
# includes the trailing newline. If the container is a
# multipart/digest then the subparts are by default message/rfc822
# instead of text/plain. In that case, they'll have a optional
# block of MIME headers, then an empty line followed by the
# multipart/digest then the subparts are by default message/rfc822
# instead of text/plain. In that case, they'll have a optional
# block of MIME headers, then an empty line followed by the
# message headers.
parts
=
re
.
split
(
linesep
+
re
.
escape
(
separator
)
+
r'[ \t]*'
+
linesep
,
payload
[
start
:
terminator
])
for
part
in
parts
:
if
isdigest
:
if
isdigest
:
if
part
[
0
]
==
linesep
:
# There's no header block so create an empty message
# object as the container, and lop off the newline so
...
...
Lib/encodings/string_escape.py
Dosyayı görüntüle @
280488b9
...
...
@@ -14,7 +14,7 @@ class Codec(codecs.Codec):
class
StreamWriter
(
Codec
,
codecs
.
StreamWriter
):
pass
class
StreamReader
(
Codec
,
codecs
.
StreamReader
):
pass
...
...
Lib/pdb.py
Dosyayı görüntüle @
280488b9
...
...
@@ -105,7 +105,7 @@ class Pdb(bdb.Bdb, cmd.Cmd):
if
len
(
line
)
>
0
and
line
[
0
]
!=
'#'
:
self
.
onecmd
(
line
)
# Override Bdb methods
# Override Bdb methods
def
user_call
(
self
,
frame
,
argument_list
):
"""This method is called when there is the remote possibility
...
...
Tools/idle/CallTips.py
Dosyayı görüntüle @
280488b9
...
...
@@ -79,7 +79,7 @@ class CallTips:
wordchars
=
"._"
+
string
.
ascii_letters
+
string
.
digits
):
# Usage of ascii_letters is necessary to avoid UnicodeErrors
# if chars contains non-ASCII.
# XXX - This needs to be moved to a better place
# so the "." attribute lookup code can also use it.
text
=
self
.
text
...
...
Tools/idle/IOBinding.py
Dosyayı görüntüle @
280488b9
...
...
@@ -209,7 +209,7 @@ class IOBinding:
"installation. The file may not display correctly"
%
name
,
master
=
self
.
text
)
enc
=
None
if
enc
:
try
:
return
unicode
(
chars
,
enc
)
...
...
Tools/idle/ScriptBinding.py
Dosyayı görüntüle @
280488b9
...
...
@@ -53,7 +53,7 @@ class ScriptBinding:
def
__init__
(
self
,
editwin
):
if
not
editwin
.
runnable
:
self
.
menudefs
=
[]
self
.
keydefs
=
{}
self
.
keydefs
=
{}
self
.
editwin
=
editwin
# Provide instance variables referenced by Debugger
# XXX This should be done differently
...
...
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