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
690959f1
Kaydet (Commit)
690959f1
authored
Tem 05, 2010
tarafından
Benjamin Peterson
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
untabify
üst
9273f809
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
Grammar
Grammar/Grammar
+6
-6
No files found.
Grammar/Grammar
Dosyayı görüntüle @
690959f1
...
@@ -11,9 +11,9 @@
...
@@ -11,9 +11,9 @@
# "How to Change Python's Grammar"
# "How to Change Python's Grammar"
# Start symbols for the grammar:
# Start symbols for the grammar:
#
single_input is a single interactive statement;
#
single_input is a single interactive statement;
#
file_input is a module or sequence of commands read from an input file;
#
file_input is a module or sequence of commands read from an input file;
#
eval_input is the input for the eval() and input() functions.
#
eval_input is the input for the eval() and input() functions.
# NB: compound_stmt in single_input is followed by extra NEWLINE!
# NB: compound_stmt in single_input is followed by extra NEWLINE!
single_input: NEWLINE | simple_stmt | compound_stmt NEWLINE
single_input: NEWLINE | simple_stmt | compound_stmt NEWLINE
file_input: (NEWLINE | stmt)* ENDMARKER
file_input: (NEWLINE | stmt)* ENDMARKER
...
@@ -68,9 +68,9 @@ while_stmt: 'while' test ':' suite ['else' ':' suite]
...
@@ -68,9 +68,9 @@ while_stmt: 'while' test ':' suite ['else' ':' suite]
for_stmt: 'for' exprlist 'in' testlist ':' suite ['else' ':' suite]
for_stmt: 'for' exprlist 'in' testlist ':' suite ['else' ':' suite]
try_stmt: ('try' ':' suite
try_stmt: ('try' ':' suite
((except_clause ':' suite)+
((except_clause ':' suite)+
['else' ':' suite]
['else' ':' suite]
['finally' ':' suite] |
['finally' ':' suite] |
'finally' ':' suite))
'finally' ':' suite))
with_stmt: 'with' with_item (',' with_item)* ':' suite
with_stmt: 'with' with_item (',' with_item)* ':' suite
with_item: test ['as' expr]
with_item: test ['as' expr]
# NB compile.c makes sure that the default except clause is last
# NB compile.c makes sure that the default except clause is last
...
...
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