() -&gt; bools</span></div>
</div>
<p>Returns a mapping from key codes to booleans indicating which keys were
newly released as of the last time events were processed. This can be used
as a convenience function to detect keys that were released &quot;this frame.&quot;</p>
<p>The result of this function is updated when new events are processed,
e.g. in <a class="tooltip reference internal" href="event.html#pygame.event.get" title=""><code class="xref py py-func docutils literal notranslate"><span class="pre"