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
b2f89ee7
Kaydet (Commit)
b2f89ee7
authored
Agu 11, 2003
tarafından
Andrew M. Kuchling
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Comment typo fixes
üst
cc9d004f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ast.py
Lib/compiler/ast.py
+1
-1
visitor.py
Lib/compiler/visitor.py
+1
-1
No files found.
Lib/compiler/ast.py
Dosyayı görüntüle @
b2f89ee7
...
@@ -283,7 +283,7 @@ class Module(Node):
...
@@ -283,7 +283,7 @@ class Module(Node):
return
"Module(
%
s,
%
s)"
%
(
repr
(
self
.
doc
),
repr
(
self
.
node
))
return
"Module(
%
s,
%
s)"
%
(
repr
(
self
.
doc
),
repr
(
self
.
node
))
class
Expression
(
Node
):
class
Expression
(
Node
):
# Expression is an artifical node class to support "eval"
# Expression is an artific
i
al node class to support "eval"
nodes
[
"expression"
]
=
"Expression"
nodes
[
"expression"
]
=
"Expression"
def
__init__
(
self
,
node
):
def
__init__
(
self
,
node
):
self
.
node
=
node
self
.
node
=
node
...
...
Lib/compiler/visitor.py
Dosyayı görüntüle @
b2f89ee7
...
@@ -66,7 +66,7 @@ class ExampleASTVisitor(ASTVisitor):
...
@@ -66,7 +66,7 @@ class ExampleASTVisitor(ASTVisitor):
"""Prints examples of the nodes that aren't visited
"""Prints examples of the nodes that aren't visited
This visitor-driver is only useful for development, when it's
This visitor-driver is only useful for development, when it's
helpful to develop a visitor incremently, and get feedback on what
helpful to develop a visitor increment
al
ly, and get feedback on what
you still have to do.
you still have to do.
"""
"""
examples
=
{}
examples
=
{}
...
...
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