diff options
Diffstat (limited to 'Lib/lib-tk')
-rw-r--r-- | Lib/lib-tk/Canvas.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/lib-tk/Canvas.py b/Lib/lib-tk/Canvas.py index 83d7bba..34464ab 100644 --- a/Lib/lib-tk/Canvas.py +++ b/Lib/lib-tk/Canvas.py @@ -3,6 +3,10 @@ # NOTE: This module was an experiment and is now obsolete. # It's best to use the Tkinter.Canvas class directly. +from warnings import warnpy3k +warnpy3k("the Canvas module has been removed in Python 3.0", stacklevel=2) +del warnpy3k + from Tkinter import Canvas, _cnfmerge, _flatten |