summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2006-05-10 16:11:44 (GMT)
committerGeorg Brandl <georg@python.org>2006-05-10 16:11:44 (GMT)
commitf8d9a97ba2d673ef996e9f0bb0dbe7b29a7a4b1d (patch)
treef4933f712ecb14026b7862e80c1e1fa16a06df7c /Doc
parentb1582557aae4e4ef18cc228affb6caafa33417d5 (diff)
downloadcpython-f8d9a97ba2d673ef996e9f0bb0dbe7b29a7a4b1d.zip
cpython-f8d9a97ba2d673ef996e9f0bb0dbe7b29a7a4b1d.tar.gz
cpython-f8d9a97ba2d673ef996e9f0bb0dbe7b29a7a4b1d.tar.bz2
Bug #1484978: curses.panel: clarify that Panel objects are destroyed on garbage collection.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libcursespanel.tex3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/lib/libcursespanel.tex b/Doc/lib/libcursespanel.tex
index 519091e..1f96717 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}{}