title: difference between quit and exit in python
body: <p>Would anybody tell me what is the difference between builtin function exit() and quit().</p>
  
  <p>Please correct me if I am wrong at any point. I have tried to check it but I am not getting anything.</p>
  
  <p>1) When I use help() and type() function for each one, it says that both are object of class Quitter, which is defined in the module <code>site</code>.</p>
  
  <p>2) When I use id() to check the addresses of each one, it returns different addresses i.e. these are two different objects of same class <code>site.Quitter</code>. </p>
  
  <pre><code>&gt;&gt;&gt; id(exit)
  13448048
  &gt;&gt;&gt; id(quit)
  13447984
  </code></pre>
  
  <p>3) And since the addresses remains constant over the subsequent calls, i.e. it is not using return wrapper each time. </p>
  
  <pre><code>&gt;&gt;&gt; id(exit)
  13448048
  &gt;&gt;&gt; id(quit)
  13447984
  </code></pre>
  
  <p>Would anybody provide me details about the differences between these two and if both are doing the same thing, why we need two different functions.</p>