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
63c591c0
Kaydet (Commit)
63c591c0
authored
Eyl 17, 2017
tarafından
Mariatta
Kaydeden (comit)
GitHub
Eyl 17, 2017
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-31487: Update F-strings doc example (GH-3627)
Shorten the comment to: "using integer format specifier"
üst
30b61b51
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lexical_analysis.rst
Doc/reference/lexical_analysis.rst
+1
-1
No files found.
Doc/reference/lexical_analysis.rst
Dosyayı görüntüle @
63c591c0
...
@@ -680,7 +680,7 @@ Some examples of formatted string literals::
...
@@ -680,7 +680,7 @@ Some examples of formatted string literals::
>>> f"{today:%b %d, %Y}" # using date format specifier
>>> f"{today:%b %d, %Y}" # using date format specifier
'January 27, 2017'
'January 27, 2017'
>>> number = 1024
>>> number = 1024
>>> f"{number:#0x}" # using integer
presentation type as
format specifier
>>> f"{number:#0x}" # using integer format specifier
'0x400'
'0x400'
A consequence of sharing the same syntax as regular string literals is
A consequence of sharing the same syntax as regular string literals is
...
...
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