title: Using class variable as non-default argument in python
body: <p>is there a way to keep a private class variable within the class and still use it as the default value to a non-default variable (without defining that value before, outside of the class)?</p>
  
  <p>example:</p>
  
  <pre><code>class a:
      def __init__(self):
          self.__variable = 6
      def b(self, value = self.__variable):
          print value
  </code></pre>