title: Can I call a subclass from a parent class to create the object
body: <p>For example:</p>
  
  <pre><code>class parent(self):
      def __init__(self, i):
          self.i = i
      def something(self, value):
          a = child(value)
          return a
  
  class child(parent):
      def something_that_is_not_init(self):
          return self.i
  </code></pre>
  
  <p>The child class inherits init from the parent class. So my question is, in my parent class, can I create an instance of the child object, use and return it?</p>
  
  <p>I would execute it as following:</p>
  
  <pre><code>a = parent(2)
  b = a.something(3)
  
  b.something_that_is_not_init()
  3
  </code></pre>
  
  <p>Edited question a bit, updated code section since the question wasn't clear. </p>