판에서는 제일 뒤에서야 설명했던 ‘파이썬다움’의 개념을, 이 장의 제일 앞에서 간단히 설명했다.
11
.
6
절 ‘포맷된 출력’에서는 파이썬
3
.
6
에 소개된
f
-문자열을 추가로 설명한다.
f
-문자열은
format()
내장 함수와
str.format()
메서드에 사용되는 포매팅 언어를 사용하므로, 이전에
구현한
__format__()
메서드는
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.