title: How can I view all of the variables that refer to an object?
body: <p>In my understanding of Python, when I assign</p>
  
  <pre><code>A = 1
  </code></pre>
  
  <p>the variable <code>A</code> is a reference to an object with value <code>1</code> that could also be referred to by other variables.</p>
  
  <p>How can I view/print/return all of the variables that refer to this object?</p>