]> granicus.if.org Git - python/commitdiff
Bug #1484978: curses.panel: clarify that Panel objects are destroyed on garbage colle...
authorGeorg Brandl <georg@python.org>
Wed, 10 May 2006 16:11:44 +0000 (16:11 +0000)
committerGeorg Brandl <georg@python.org>
Wed, 10 May 2006 16:11:44 +0000 (16:11 +0000)
Doc/lib/libcursespanel.tex

index 519091ebb4c3cad11ff62157b54b607cab3f6093..1f96717fc23d2b1d278f83841a01520c2f601998 100644 (file)
@@ -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}{}