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
5833c004
Kaydet (Commit)
5833c004
authored
Kas 25, 2013
tarafından
Ezio Melotti
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
#19620: merge with 3.3.
üst
799f81b1
4bcc796a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
tokenize.py
Lib/lib2to3/pgen2/tokenize.py
+2
-2
tokenize.py
Lib/tokenize.py
+1
-1
No files found.
Lib/lib2to3/pgen2/tokenize.py
Dosyayı görüntüle @
5833c004
...
...
@@ -252,7 +252,7 @@ def _get_normal_name(orig_enc):
def
detect_encoding
(
readline
):
"""
The detect_encoding() function is used to detect the encoding that should
be used to decode a Python source file. It requires one argment, readline,
be used to decode a Python source file. It requires one arg
u
ment, readline,
in the same way as the tokenize() generator.
It will call readline a maximum of twice, and return the encoding used
...
...
@@ -343,7 +343,7 @@ def untokenize(iterable):
def
generate_tokens
(
readline
):
"""
The generate_tokens() generator requires one argment, readline, which
The generate_tokens() generator requires one arg
u
ment, readline, which
must be a callable object which provides the same interface as the
readline() method of built-in file objects. Each call to the function
should return one line of input as a string. Alternately, readline
...
...
Lib/tokenize.py
Dosyayı görüntüle @
5833c004
...
...
@@ -333,7 +333,7 @@ def _get_normal_name(orig_enc):
def
detect_encoding
(
readline
):
"""
The detect_encoding() function is used to detect the encoding that should
be used to decode a Python source file. It requires one argment, readline,
be used to decode a Python source file. It requires one arg
u
ment, readline,
in the same way as the tokenize() generator.
It will call readline a maximum of twice, and return the encoding used
...
...
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