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
f728f9a1
Kaydet (Commit)
f728f9a1
authored
Mar 06, 2000
tarafından
Jeremy Hylton
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
import compile function form pycodegen
üst
7fab23e9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
__init__.py
Lib/compiler/__init__.py
+4
-0
__init__.py
Tools/compiler/compiler/__init__.py
+4
-0
No files found.
Lib/compiler/__init__.py
Dosyayı görüntüle @
f728f9a1
...
@@ -13,8 +13,12 @@ parseFile(path) -> AST
...
@@ -13,8 +13,12 @@ parseFile(path) -> AST
walk(ast, visitor, verbose=None)
walk(ast, visitor, verbose=None)
Does a pre-order walk over the ast using the visitor instance.
Does a pre-order walk over the ast using the visitor instance.
See compiler.visitor for details.
See compiler.visitor for details.
compile(filename)
Generates a .pyc file by compilining filename.
"""
"""
from
transformer
import
parse
,
parseFile
from
transformer
import
parse
,
parseFile
from
visitor
import
walk
from
visitor
import
walk
from
pycodegen
import
compile
Tools/compiler/compiler/__init__.py
Dosyayı görüntüle @
f728f9a1
...
@@ -13,8 +13,12 @@ parseFile(path) -> AST
...
@@ -13,8 +13,12 @@ parseFile(path) -> AST
walk(ast, visitor, verbose=None)
walk(ast, visitor, verbose=None)
Does a pre-order walk over the ast using the visitor instance.
Does a pre-order walk over the ast using the visitor instance.
See compiler.visitor for details.
See compiler.visitor for details.
compile(filename)
Generates a .pyc file by compilining filename.
"""
"""
from
transformer
import
parse
,
parseFile
from
transformer
import
parse
,
parseFile
from
visitor
import
walk
from
visitor
import
walk
from
pycodegen
import
compile
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