From: Georg Brandl Date: Wed, 10 May 2006 16:11:44 +0000 (+0000) Subject: Bug #1484978: curses.panel: clarify that Panel objects are destroyed on garbage colle... X-Git-Tag: v2.5b1~681 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f8d9a97ba2d673ef996e9f0bb0dbe7b29a7a4b1d;p=python Bug #1484978: curses.panel: clarify that Panel objects are destroyed on garbage collection. --- diff --git a/Doc/lib/libcursespanel.tex b/Doc/lib/libcursespanel.tex index 519091ebb4..1f96717fc2 100644 --- a/Doc/lib/libcursespanel.tex +++ b/Doc/lib/libcursespanel.tex @@ -22,6 +22,9 @@ Returns the bottom panel in the panel stack. \begin{funcdesc}{new_panel}{win} Returns a panel object, associating it with the given window \var{win}. +Be aware that you need to keep the returned panel object referenced +explicitly. If you don't, the panel object is garbage collected and +removed from the panel stack. \end{funcdesc} \begin{funcdesc}{top_panel}{}