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
27562783
Kaydet (Commit)
27562783
authored
Eki 27, 2006
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Patch #1552024: add decorator support to unparse.py demo script.
üst
112d1a64
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
unparse.py
Demo/parser/unparse.py
+3
-0
NEWS
Misc/NEWS
+5
-2
No files found.
Demo/parser/unparse.py
Dosyayı görüntüle @
27562783
...
...
@@ -223,6 +223,9 @@ class Unparser:
def
_FunctionDef
(
self
,
t
):
self
.
write
(
"
\n
"
)
for
deco
in
t
.
decorators
:
self
.
fill
(
"@"
)
self
.
dispatch
(
deco
)
self
.
fill
(
"def "
+
t
.
name
+
"("
)
self
.
dispatch
(
t
.
args
)
self
.
write
(
")"
)
...
...
Misc/NEWS
Dosyayı görüntüle @
27562783
...
...
@@ -156,6 +156,7 @@ Library
-
fixed
a
bug
with
bsddb
.
DB
.
stat
:
the
flags
and
txn
keyword
arguments
were
transposed
.
Extension
Modules
-----------------
...
...
@@ -225,8 +226,10 @@ Documentation
to a newly created list object and add notes that this isn'
t
a
good
idea
.
Tools
-----
Tools
/
Demos
-----------
-
Patch
#
1552024
:
add
decorator
support
to
unparse
.
py
demo
script
.
-
Make
auto
-
generated
python
.
vim
file
list
built
-
ins
and
exceptions
in
alphatbetical
order
.
Makes
output
more
deterministic
and
easier
to
tell
if
...
...
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