<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Qtatsu</author_name>
  <author_url>https://blog.hatena.ne.jp/Qtatsu/</author_url>
  <blog_title>qtatsuの週報</blog_title>
  <blog_url>https://qtatsu.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>技術</anon>
  </categories>
  <description>前書き 参考リンク 環境 f-stringの例と用語 f-stringで使う用語のまとめ 最強コマンド: help('FORMATTING') フォーマットの仕組みを考える conversionフィールドは特殊メソッド__str__などを呼ぶ. f-stringの置換フィールド中では、__format__()メソッドが呼ばれる。 書式指定文字列(format_spec)の解釈は対象のクラス次第である。 datetime.datetimeオブジェクトは特殊な書式指定文字列を持つ デフォルトの__format__()はobjectに定義されている 再確認: conversion(!r)は__for…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fqtatsu.hatenablog.com%2Fentry%2F2021%2F03%2F19%2F004152&quot; title=&quot;【Python】f-stringとフォーマットの仕組みを特殊メソッド__format__から理解する。 - qtatsuの週報&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-03-19 00:41:52</published>
  <title>【Python】f-stringとフォーマットの仕組みを特殊メソッド__format__から理解する。</title>
  <type>rich</type>
  <url>https://qtatsu.hatenablog.com/entry/2021/03/19/004152</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
