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
a4a3020a
Unverified
Kaydet (Commit)
a4a3020a
authored
Kas 28, 2017
tarafından
Serhiy Storchaka
Kaydeden (comit)
GitHub
Kas 28, 2017
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-32157: Removed explicit quotes around %r and {!r}. (#4582)
üst
c615be51
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
imaplib.py
Lib/imaplib.py
+1
-1
inspect.py
Lib/inspect.py
+2
-2
sharedctypes.py
Lib/multiprocessing/sharedctypes.py
+2
-2
test_queue.py
Lib/test/test_queue.py
+1
-1
No files found.
Lib/imaplib.py
Dosyayı görüntüle @
a4a3020a
...
...
@@ -1166,7 +1166,7 @@ class IMAP4:
self
.
mo
=
cre
.
match
(
s
)
if
__debug__
:
if
self
.
mo
is
not
None
and
self
.
debug
>=
5
:
self
.
_mesg
(
"
\t
matched
r'
%
r'
=>
%
r"
%
(
cre
.
pattern
,
self
.
mo
.
groups
()))
self
.
_mesg
(
"
\t
matched
%
r
=>
%
r"
%
(
cre
.
pattern
,
self
.
mo
.
groups
()))
return
self
.
mo
is
not
None
...
...
Lib/inspect.py
Dosyayı görüntüle @
a4a3020a
...
...
@@ -1381,7 +1381,7 @@ def getclosurevars(func):
func
=
func
.
__func__
if
not
isfunction
(
func
):
raise
TypeError
(
"
'{!r}'
is not a Python function"
.
format
(
func
))
raise
TypeError
(
"
{!r}
is not a Python function"
.
format
(
func
))
code
=
func
.
__code__
# Nonlocal references are named in co_freevars and resolved
...
...
@@ -1624,7 +1624,7 @@ def getgeneratorlocals(generator):
bound values."""
if
not
isgenerator
(
generator
):
raise
TypeError
(
"
'{!r}'
is not a Python generator"
.
format
(
generator
))
raise
TypeError
(
"
{!r}
is not a Python generator"
.
format
(
generator
))
frame
=
getattr
(
generator
,
"gi_frame"
,
None
)
if
frame
is
not
None
:
...
...
Lib/multiprocessing/sharedctypes.py
Dosyayı görüntüle @
a4a3020a
...
...
@@ -78,7 +78,7 @@ def Value(typecode_or_type, *args, lock=True, ctx=None):
ctx
=
ctx
or
get_context
()
lock
=
ctx
.
RLock
()
if
not
hasattr
(
lock
,
'acquire'
):
raise
AttributeError
(
"
'
%
r'
has no method 'acquire'"
%
lock
)
raise
AttributeError
(
"
%
r
has no method 'acquire'"
%
lock
)
return
synchronized
(
obj
,
lock
,
ctx
=
ctx
)
def
Array
(
typecode_or_type
,
size_or_initializer
,
*
,
lock
=
True
,
ctx
=
None
):
...
...
@@ -92,7 +92,7 @@ def Array(typecode_or_type, size_or_initializer, *, lock=True, ctx=None):
ctx
=
ctx
or
get_context
()
lock
=
ctx
.
RLock
()
if
not
hasattr
(
lock
,
'acquire'
):
raise
AttributeError
(
"
'
%
r'
has no method 'acquire'"
%
lock
)
raise
AttributeError
(
"
%
r
has no method 'acquire'"
%
lock
)
return
synchronized
(
obj
,
lock
,
ctx
=
ctx
)
def
copy
(
obj
):
...
...
Lib/test/test_queue.py
Dosyayı görüntüle @
a4a3020a
...
...
@@ -54,7 +54,7 @@ class BlockingTestMixin:
self
.
result
=
block_func
(
*
block_args
)
# If block_func returned before our thread made the call, we failed!
if
not
thread
.
startedEvent
.
is_set
():
self
.
fail
(
"blocking function
'
%
r'
appeared not to block"
%
self
.
fail
(
"blocking function
%
r
appeared not to block"
%
block_func
)
return
self
.
result
finally
:
...
...
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