<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kamatimaru</author_name>
  <author_url>https://blog.hatena.ne.jp/kamatimaru/</author_url>
  <blog_title>delhi09の勉強日記</blog_title>
  <blog_url>https://kamatimaru.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>PythonでEnumを使うときの変数名の記法についてルールがあるのか気になったので調べてみた。 PEP8 PEP8には「Enumを書くときはxxxケースで書きなさい」ということは特に明記されていない。 ※ PEP8の方が、EnumがPythonに入った時期よりも、もちろん古いので当然という気もする。ただ、定数は全て大文字かつ区切り文字はアンダースコアで定義すべきということは記載されている。 Constants are usually defined on a module level and written in all capital letters with underscores se…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkamatimaru.hatenablog.com%2Fentry%2F2021%2F10%2F20%2F230128&quot; title=&quot;PythonでEnumを使うときの変数名の記法について - delhi09の勉強日記&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-10-20 23:01:28</published>
  <title>PythonでEnumを使うときの変数名の記法について</title>
  <type>rich</type>
  <url>https://kamatimaru.hatenablog.com/entry/2021/10/20/230128</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
