 <p>Well, focus on this:</p> <pre><code>not re.match("c", "cat") </code></pre> <p>Here <code>re.match("c", "cat")</code> will return the "location of the object in memory", as you said. That's something not False.</p> <p>So now, <code>not re.match("c", "cat")</code> will result in:</p> <blockquote> <p>not not False</p> </blockquote> <p>which results to:</p> <blockquote> <p>False</p> </blockquote> <p>Of course, this kind of thinking can be applied to logical conditions too, like a condition of an if statement.</p>