title: Does it ever make sense to write 2 classes with identical names in the same python program?
body: <p>Are there any scenarios where it would make sense to write two python classes in the same program with the same name using different parameters? I was thinking through this program, but my 2nd test class will just overwrite the first. Is this always the case?</p>
  
  <pre><code>class test:
      def __init__(self):
          print("first class")
      def oneplus(self, x):
          print(x + 1)
  
  class test:
      def __init__(self):
          print("second class")
      def twoplus(self, x):
          print(x + 2)
  
  t = test()
  t.twoplus(1)  
  </code></pre>
  
  <p>will just result in using the 2nd instance:</p>
  
  <pre><code>second class
  3
  </code></pre>