title: Does Python's enum class use partial string matching?
body: <p>I have an enum class representing time periods, but i'd like the have two different names for the same mapping</p>
  <pre><code>class TimePeriod(enum.IntEnum):
      DAILY = 1
      MONTH = 2
      MONTHLY = 2
  </code></pre>
  <p>However, when I access MONTH or MONTHLY I get the MONTH type as shown below:</p>
  <pre><code>TimePeriod.MONTH
  returns: &lt;TimePeriod.MONTH: 2&gt;
  
  TimePeriod.MONTHLY
  returns: &lt;TimePeriod.MONTH: 2&gt;
  </code></pre>
  <p>Is Python's enum code using partial matching for the enumeration?
  This happens when I reverse the order of MONTH and MONTHLY in the class definition as well.</p>