]> git.saurik.com Git - wxWidgets.git/blame - wxPython/wxPython/windows.py
Demo tweaks to correct some visual glitches and event order issues
[wxWidgets.git] / wxPython / wxPython / windows.py
CommitLineData
d14a1e28
RD
1## This file reverse renames symbols in the wx package to give
2## them their wx prefix again, for backwards compatibility.
3##
4## Generated by ./distrib/build_renamers.py
5
6# This silly stuff here is so the wxPython.wx module doesn't conflict
7# with the wx package. We need to import modules from the wx package
8# here, then we'll put the wxPython.wx entry back in sys.modules.
9import sys
10_wx = None
11if sys.modules.has_key('wxPython.wx'):
12 _wx = sys.modules['wxPython.wx']
13 del sys.modules['wxPython.wx']
14
15import wx.windows
16
17sys.modules['wxPython.wx'] = _wx
18del sys, _wx
19
20
21# Now assign all the reverse-renamed names:
d14a1e28 22wxPanel = wx.windows.Panel
423af76e 23wxPanelPtr = wx.windows.PanelPtr
bf5ff0c3 24wxPrePanel = wx.windows.PrePanel
d14a1e28 25wxScrolledWindow = wx.windows.ScrolledWindow
423af76e 26wxScrolledWindowPtr = wx.windows.ScrolledWindowPtr
bf5ff0c3 27wxPreScrolledWindow = wx.windows.PreScrolledWindow
b2dc1044
RD
28wxFrameNameStr = wx.windows.FrameNameStr
29wxDialogNameStr = wx.windows.DialogNameStr
30wxStatusLineNameStr = wx.windows.StatusLineNameStr
31wxToolBarNameStr = wx.windows.ToolBarNameStr
d14a1e28
RD
32wxFULLSCREEN_NOMENUBAR = wx.windows.FULLSCREEN_NOMENUBAR
33wxFULLSCREEN_NOTOOLBAR = wx.windows.FULLSCREEN_NOTOOLBAR
34wxFULLSCREEN_NOSTATUSBAR = wx.windows.FULLSCREEN_NOSTATUSBAR
35wxFULLSCREEN_NOBORDER = wx.windows.FULLSCREEN_NOBORDER
36wxFULLSCREEN_NOCAPTION = wx.windows.FULLSCREEN_NOCAPTION
37wxFULLSCREEN_ALL = wx.windows.FULLSCREEN_ALL
38wxTOPLEVEL_EX_DIALOG = wx.windows.TOPLEVEL_EX_DIALOG
39wxTopLevelWindow = wx.windows.TopLevelWindow
423af76e 40wxTopLevelWindowPtr = wx.windows.TopLevelWindowPtr
d14a1e28 41wxFrame = wx.windows.Frame
423af76e 42wxFramePtr = wx.windows.FramePtr
bf5ff0c3 43wxPreFrame = wx.windows.PreFrame
d14a1e28 44wxDialog = wx.windows.Dialog
423af76e 45wxDialogPtr = wx.windows.DialogPtr
bf5ff0c3 46wxPreDialog = wx.windows.PreDialog
d14a1e28 47wxMiniFrame = wx.windows.MiniFrame
423af76e 48wxMiniFramePtr = wx.windows.MiniFramePtr
bf5ff0c3 49wxPreMiniFrame = wx.windows.PreMiniFrame
d14a1e28
RD
50wxSPLASH_CENTRE_ON_PARENT = wx.windows.SPLASH_CENTRE_ON_PARENT
51wxSPLASH_CENTRE_ON_SCREEN = wx.windows.SPLASH_CENTRE_ON_SCREEN
52wxSPLASH_NO_CENTRE = wx.windows.SPLASH_NO_CENTRE
53wxSPLASH_TIMEOUT = wx.windows.SPLASH_TIMEOUT
54wxSPLASH_NO_TIMEOUT = wx.windows.SPLASH_NO_TIMEOUT
55wxSplashScreenWindow = wx.windows.SplashScreenWindow
423af76e 56wxSplashScreenWindowPtr = wx.windows.SplashScreenWindowPtr
d14a1e28 57wxSplashScreen = wx.windows.SplashScreen
423af76e 58wxSplashScreenPtr = wx.windows.SplashScreenPtr
d14a1e28 59wxStatusBar = wx.windows.StatusBar
423af76e 60wxStatusBarPtr = wx.windows.StatusBarPtr
bf5ff0c3 61wxPreStatusBar = wx.windows.PreStatusBar
b2dc1044 62wxSplitterNameStr = wx.windows.SplitterNameStr
d14a1e28
RD
63wxSP_NOBORDER = wx.windows.SP_NOBORDER
64wxSP_NOSASH = wx.windows.SP_NOSASH
65wxSP_PERMIT_UNSPLIT = wx.windows.SP_PERMIT_UNSPLIT
66wxSP_LIVE_UPDATE = wx.windows.SP_LIVE_UPDATE
67wxSP_3DSASH = wx.windows.SP_3DSASH
68wxSP_3DBORDER = wx.windows.SP_3DBORDER
4276dc52 69wxSP_NO_XP_THEME = wx.windows.SP_NO_XP_THEME
d14a1e28
RD
70wxSP_BORDER = wx.windows.SP_BORDER
71wxSP_3D = wx.windows.SP_3D
72wxSPLIT_HORIZONTAL = wx.windows.SPLIT_HORIZONTAL
73wxSPLIT_VERTICAL = wx.windows.SPLIT_VERTICAL
74wxSPLIT_DRAG_NONE = wx.windows.SPLIT_DRAG_NONE
75wxSPLIT_DRAG_DRAGGING = wx.windows.SPLIT_DRAG_DRAGGING
76wxSPLIT_DRAG_LEFT_DOWN = wx.windows.SPLIT_DRAG_LEFT_DOWN
d14a1e28 77wxSplitterWindow = wx.windows.SplitterWindow
423af76e 78wxSplitterWindowPtr = wx.windows.SplitterWindowPtr
bf5ff0c3 79wxPreSplitterWindow = wx.windows.PreSplitterWindow
d14a1e28 80wxSplitterEvent = wx.windows.SplitterEvent
423af76e 81wxSplitterEventPtr = wx.windows.SplitterEventPtr
d14a1e28
RD
82wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED = wx.windows.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
83wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING = wx.windows.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
84wxEVT_COMMAND_SPLITTER_DOUBLECLICKED = wx.windows.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
85wxEVT_COMMAND_SPLITTER_UNSPLIT = wx.windows.wxEVT_COMMAND_SPLITTER_UNSPLIT
b2dc1044
RD
86wxSashNameStr = wx.windows.SashNameStr
87wxSashLayoutNameStr = wx.windows.SashLayoutNameStr
d14a1e28
RD
88wxSASH_DRAG_NONE = wx.windows.SASH_DRAG_NONE
89wxSASH_DRAG_DRAGGING = wx.windows.SASH_DRAG_DRAGGING
90wxSASH_DRAG_LEFT_DOWN = wx.windows.SASH_DRAG_LEFT_DOWN
91wxSW_NOBORDER = wx.windows.SW_NOBORDER
92wxSW_BORDER = wx.windows.SW_BORDER
93wxSW_3DSASH = wx.windows.SW_3DSASH
94wxSW_3DBORDER = wx.windows.SW_3DBORDER
95wxSW_3D = wx.windows.SW_3D
96wxSASH_TOP = wx.windows.SASH_TOP
97wxSASH_RIGHT = wx.windows.SASH_RIGHT
98wxSASH_BOTTOM = wx.windows.SASH_BOTTOM
99wxSASH_LEFT = wx.windows.SASH_LEFT
100wxSASH_NONE = wx.windows.SASH_NONE
d14a1e28 101wxSashWindow = wx.windows.SashWindow
423af76e 102wxSashWindowPtr = wx.windows.SashWindowPtr
bf5ff0c3 103wxPreSashWindow = wx.windows.PreSashWindow
d14a1e28
RD
104wxSASH_STATUS_OK = wx.windows.SASH_STATUS_OK
105wxSASH_STATUS_OUT_OF_RANGE = wx.windows.SASH_STATUS_OUT_OF_RANGE
106wxSashEvent = wx.windows.SashEvent
423af76e 107wxSashEventPtr = wx.windows.SashEventPtr
d14a1e28
RD
108wxEVT_SASH_DRAGGED = wx.windows.wxEVT_SASH_DRAGGED
109wxLAYOUT_HORIZONTAL = wx.windows.LAYOUT_HORIZONTAL
110wxLAYOUT_VERTICAL = wx.windows.LAYOUT_VERTICAL
111wxLAYOUT_NONE = wx.windows.LAYOUT_NONE
112wxLAYOUT_TOP = wx.windows.LAYOUT_TOP
113wxLAYOUT_LEFT = wx.windows.LAYOUT_LEFT
114wxLAYOUT_RIGHT = wx.windows.LAYOUT_RIGHT
115wxLAYOUT_BOTTOM = wx.windows.LAYOUT_BOTTOM
116wxLAYOUT_LENGTH_Y = wx.windows.LAYOUT_LENGTH_Y
117wxLAYOUT_LENGTH_X = wx.windows.LAYOUT_LENGTH_X
118wxLAYOUT_MRU_LENGTH = wx.windows.LAYOUT_MRU_LENGTH
119wxLAYOUT_QUERY = wx.windows.LAYOUT_QUERY
120wxEVT_QUERY_LAYOUT_INFO = wx.windows.wxEVT_QUERY_LAYOUT_INFO
121wxEVT_CALCULATE_LAYOUT = wx.windows.wxEVT_CALCULATE_LAYOUT
122wxQueryLayoutInfoEvent = wx.windows.QueryLayoutInfoEvent
423af76e 123wxQueryLayoutInfoEventPtr = wx.windows.QueryLayoutInfoEventPtr
d14a1e28 124wxCalculateLayoutEvent = wx.windows.CalculateLayoutEvent
423af76e 125wxCalculateLayoutEventPtr = wx.windows.CalculateLayoutEventPtr
d14a1e28 126wxSashLayoutWindow = wx.windows.SashLayoutWindow
423af76e 127wxSashLayoutWindowPtr = wx.windows.SashLayoutWindowPtr
bf5ff0c3 128wxPreSashLayoutWindow = wx.windows.PreSashLayoutWindow
d14a1e28 129wxLayoutAlgorithm = wx.windows.LayoutAlgorithm
423af76e 130wxLayoutAlgorithmPtr = wx.windows.LayoutAlgorithmPtr
d14a1e28 131wxPopupWindow = wx.windows.PopupWindow
423af76e 132wxPopupWindowPtr = wx.windows.PopupWindowPtr
bf5ff0c3 133wxPrePopupWindow = wx.windows.PrePopupWindow
d14a1e28 134wxPopupTransientWindow = wx.windows.PopupTransientWindow
423af76e 135wxPopupTransientWindowPtr = wx.windows.PopupTransientWindowPtr
bf5ff0c3 136wxPrePopupTransientWindow = wx.windows.PrePopupTransientWindow
d14a1e28 137wxTipWindow = wx.windows.TipWindow
423af76e 138wxTipWindowPtr = wx.windows.TipWindowPtr
d14a1e28 139wxVScrolledWindow = wx.windows.VScrolledWindow
423af76e 140wxVScrolledWindowPtr = wx.windows.VScrolledWindowPtr
bf5ff0c3 141wxPreVScrolledWindow = wx.windows.PreVScrolledWindow
b2dc1044 142wxVListBoxNameStr = wx.windows.VListBoxNameStr
d14a1e28 143wxVListBox = wx.windows.VListBox
423af76e 144wxVListBoxPtr = wx.windows.VListBoxPtr
bf5ff0c3 145wxPreVListBox = wx.windows.PreVListBox
d14a1e28 146wxHtmlListBox = wx.windows.HtmlListBox
423af76e 147wxHtmlListBoxPtr = wx.windows.HtmlListBoxPtr
bf5ff0c3 148wxPreHtmlListBox = wx.windows.PreHtmlListBox
d14a1e28 149wxTaskBarIcon = wx.windows.TaskBarIcon
423af76e 150wxTaskBarIconPtr = wx.windows.TaskBarIconPtr
d14a1e28 151wxTaskBarIconEvent = wx.windows.TaskBarIconEvent
423af76e 152wxTaskBarIconEventPtr = wx.windows.TaskBarIconEventPtr
d14a1e28
RD
153wxEVT_TASKBAR_MOVE = wx.windows.wxEVT_TASKBAR_MOVE
154wxEVT_TASKBAR_LEFT_DOWN = wx.windows.wxEVT_TASKBAR_LEFT_DOWN
155wxEVT_TASKBAR_LEFT_UP = wx.windows.wxEVT_TASKBAR_LEFT_UP
156wxEVT_TASKBAR_RIGHT_DOWN = wx.windows.wxEVT_TASKBAR_RIGHT_DOWN
157wxEVT_TASKBAR_RIGHT_UP = wx.windows.wxEVT_TASKBAR_RIGHT_UP
158wxEVT_TASKBAR_LEFT_DCLICK = wx.windows.wxEVT_TASKBAR_LEFT_DCLICK
159wxEVT_TASKBAR_RIGHT_DCLICK = wx.windows.wxEVT_TASKBAR_RIGHT_DCLICK
b2dc1044
RD
160wxFileSelectorPromptStr = wx.windows.FileSelectorPromptStr
161wxDirSelectorPromptStr = wx.windows.DirSelectorPromptStr
162wxDirDialogNameStr = wx.windows.DirDialogNameStr
163wxFileSelectorDefaultWildcardStr = wx.windows.FileSelectorDefaultWildcardStr
164wxGetTextFromUserPromptStr = wx.windows.GetTextFromUserPromptStr
165wxMessageBoxCaptionStr = wx.windows.MessageBoxCaptionStr
d14a1e28 166wxColourData = wx.windows.ColourData
423af76e 167wxColourDataPtr = wx.windows.ColourDataPtr
d14a1e28 168wxColourDialog = wx.windows.ColourDialog
423af76e 169wxColourDialogPtr = wx.windows.ColourDialogPtr
d14a1e28 170wxDirDialog = wx.windows.DirDialog
423af76e 171wxDirDialogPtr = wx.windows.DirDialogPtr
d14a1e28 172wxFileDialog = wx.windows.FileDialog
423af76e 173wxFileDialogPtr = wx.windows.FileDialogPtr
d14a1e28
RD
174wxCHOICEDLG_STYLE = wx.windows.CHOICEDLG_STYLE
175wxMultiChoiceDialog = wx.windows.MultiChoiceDialog
423af76e 176wxMultiChoiceDialogPtr = wx.windows.MultiChoiceDialogPtr
d14a1e28 177wxSingleChoiceDialog = wx.windows.SingleChoiceDialog
423af76e 178wxSingleChoiceDialogPtr = wx.windows.SingleChoiceDialogPtr
d14a1e28 179wxTextEntryDialog = wx.windows.TextEntryDialog
423af76e 180wxTextEntryDialogPtr = wx.windows.TextEntryDialogPtr
d14a1e28 181wxFontData = wx.windows.FontData
423af76e 182wxFontDataPtr = wx.windows.FontDataPtr
d14a1e28 183wxFontDialog = wx.windows.FontDialog
423af76e 184wxFontDialogPtr = wx.windows.FontDialogPtr
d14a1e28 185wxMessageDialog = wx.windows.MessageDialog
423af76e 186wxMessageDialogPtr = wx.windows.MessageDialogPtr
d14a1e28 187wxProgressDialog = wx.windows.ProgressDialog
423af76e 188wxProgressDialogPtr = wx.windows.ProgressDialogPtr
d14a1e28
RD
189wxFR_DOWN = wx.windows.FR_DOWN
190wxFR_WHOLEWORD = wx.windows.FR_WHOLEWORD
191wxFR_MATCHCASE = wx.windows.FR_MATCHCASE
192wxFR_REPLACEDIALOG = wx.windows.FR_REPLACEDIALOG
193wxFR_NOUPDOWN = wx.windows.FR_NOUPDOWN
194wxFR_NOMATCHCASE = wx.windows.FR_NOMATCHCASE
195wxFR_NOWHOLEWORD = wx.windows.FR_NOWHOLEWORD
196wxEVT_COMMAND_FIND = wx.windows.wxEVT_COMMAND_FIND
197wxEVT_COMMAND_FIND_NEXT = wx.windows.wxEVT_COMMAND_FIND_NEXT
198wxEVT_COMMAND_FIND_REPLACE = wx.windows.wxEVT_COMMAND_FIND_REPLACE
199wxEVT_COMMAND_FIND_REPLACE_ALL = wx.windows.wxEVT_COMMAND_FIND_REPLACE_ALL
200wxEVT_COMMAND_FIND_CLOSE = wx.windows.wxEVT_COMMAND_FIND_CLOSE
201wxFindDialogEvent = wx.windows.FindDialogEvent
423af76e 202wxFindDialogEventPtr = wx.windows.FindDialogEventPtr
d14a1e28 203wxFindReplaceData = wx.windows.FindReplaceData
423af76e 204wxFindReplaceDataPtr = wx.windows.FindReplaceDataPtr
d14a1e28 205wxFindReplaceDialog = wx.windows.FindReplaceDialog
423af76e 206wxFindReplaceDialogPtr = wx.windows.FindReplaceDialogPtr
bf5ff0c3 207wxPreFindReplaceDialog = wx.windows.PreFindReplaceDialog
d14a1e28
RD
208IDM_WINDOWTILE = wx.windows.IDM_WINDOWTILE
209IDM_WINDOWTILEHOR = wx.windows.IDM_WINDOWTILEHOR
210IDM_WINDOWCASCADE = wx.windows.IDM_WINDOWCASCADE
211IDM_WINDOWICONS = wx.windows.IDM_WINDOWICONS
212IDM_WINDOWNEXT = wx.windows.IDM_WINDOWNEXT
213IDM_WINDOWTILEVERT = wx.windows.IDM_WINDOWTILEVERT
214wxFIRST_MDI_CHILD = wx.windows.FIRST_MDI_CHILD
215wxLAST_MDI_CHILD = wx.windows.LAST_MDI_CHILD
d14a1e28 216wxMDIParentFrame = wx.windows.MDIParentFrame
423af76e 217wxMDIParentFramePtr = wx.windows.MDIParentFramePtr
bf5ff0c3 218wxPreMDIParentFrame = wx.windows.PreMDIParentFrame
d14a1e28 219wxMDIChildFrame = wx.windows.MDIChildFrame
423af76e 220wxMDIChildFramePtr = wx.windows.MDIChildFramePtr
bf5ff0c3 221wxPreMDIChildFrame = wx.windows.PreMDIChildFrame
d14a1e28 222wxMDIClientWindow = wx.windows.MDIClientWindow
423af76e 223wxMDIClientWindowPtr = wx.windows.MDIClientWindowPtr
bf5ff0c3 224wxPreMDIClientWindow = wx.windows.PreMDIClientWindow
d14a1e28 225wxPyWindow = wx.windows.PyWindow
423af76e 226wxPyWindowPtr = wx.windows.PyWindowPtr
c1d1a9cb 227wxPrePyWindow = wx.windows.PrePyWindow
d14a1e28 228wxPyPanel = wx.windows.PyPanel
423af76e 229wxPyPanelPtr = wx.windows.PyPanelPtr
c1d1a9cb
RD
230wxPrePyPanel = wx.windows.PrePyPanel
231wxPyScrolledWindow = wx.windows.PyScrolledWindow
232wxPyScrolledWindowPtr = wx.windows.PyScrolledWindowPtr
233wxPrePyScrolledWindow = wx.windows.PrePyScrolledWindow
b2dc1044
RD
234wxPrintoutTitleStr = wx.windows.PrintoutTitleStr
235wxPreviewCanvasNameStr = wx.windows.PreviewCanvasNameStr
d14a1e28
RD
236wxPRINT_MODE_NONE = wx.windows.PRINT_MODE_NONE
237wxPRINT_MODE_PREVIEW = wx.windows.PRINT_MODE_PREVIEW
238wxPRINT_MODE_FILE = wx.windows.PRINT_MODE_FILE
239wxPRINT_MODE_PRINTER = wx.windows.PRINT_MODE_PRINTER
db914595 240wxPRINT_MODE_STREAM = wx.windows.PRINT_MODE_STREAM
d14a1e28 241wxPrintData = wx.windows.PrintData
423af76e 242wxPrintDataPtr = wx.windows.PrintDataPtr
d14a1e28 243wxPageSetupDialogData = wx.windows.PageSetupDialogData
423af76e 244wxPageSetupDialogDataPtr = wx.windows.PageSetupDialogDataPtr
d14a1e28 245wxPageSetupDialog = wx.windows.PageSetupDialog
423af76e 246wxPageSetupDialogPtr = wx.windows.PageSetupDialogPtr
d14a1e28 247wxPrintDialogData = wx.windows.PrintDialogData
423af76e 248wxPrintDialogDataPtr = wx.windows.PrintDialogDataPtr
d14a1e28 249wxPrintDialog = wx.windows.PrintDialog
423af76e 250wxPrintDialogPtr = wx.windows.PrintDialogPtr
d14a1e28
RD
251wxPRINTER_NO_ERROR = wx.windows.PRINTER_NO_ERROR
252wxPRINTER_CANCELLED = wx.windows.PRINTER_CANCELLED
253wxPRINTER_ERROR = wx.windows.PRINTER_ERROR
d14a1e28 254wxPrinter = wx.windows.Printer
423af76e 255wxPrinterPtr = wx.windows.PrinterPtr
bf5ff0c3 256wxPrinter_GetLastError = wx.windows.Printer_GetLastError
d14a1e28 257wxPrintout = wx.windows.Printout
423af76e 258wxPrintoutPtr = wx.windows.PrintoutPtr
d14a1e28 259wxPreviewCanvas = wx.windows.PreviewCanvas
423af76e 260wxPreviewCanvasPtr = wx.windows.PreviewCanvasPtr
d14a1e28 261wxPreviewFrame = wx.windows.PreviewFrame
423af76e 262wxPreviewFramePtr = wx.windows.PreviewFramePtr
d14a1e28
RD
263wxPREVIEW_PRINT = wx.windows.PREVIEW_PRINT
264wxPREVIEW_PREVIOUS = wx.windows.PREVIEW_PREVIOUS
265wxPREVIEW_NEXT = wx.windows.PREVIEW_NEXT
266wxPREVIEW_ZOOM = wx.windows.PREVIEW_ZOOM
267wxPREVIEW_FIRST = wx.windows.PREVIEW_FIRST
268wxPREVIEW_LAST = wx.windows.PREVIEW_LAST
269wxPREVIEW_GOTO = wx.windows.PREVIEW_GOTO
270wxPREVIEW_DEFAULT = wx.windows.PREVIEW_DEFAULT
271wxID_PREVIEW_CLOSE = wx.windows.ID_PREVIEW_CLOSE
272wxID_PREVIEW_NEXT = wx.windows.ID_PREVIEW_NEXT
273wxID_PREVIEW_PREVIOUS = wx.windows.ID_PREVIEW_PREVIOUS
274wxID_PREVIEW_PRINT = wx.windows.ID_PREVIEW_PRINT
275wxID_PREVIEW_ZOOM = wx.windows.ID_PREVIEW_ZOOM
276wxID_PREVIEW_FIRST = wx.windows.ID_PREVIEW_FIRST
277wxID_PREVIEW_LAST = wx.windows.ID_PREVIEW_LAST
278wxID_PREVIEW_GOTO = wx.windows.ID_PREVIEW_GOTO
279wxPreviewControlBar = wx.windows.PreviewControlBar
423af76e 280wxPreviewControlBarPtr = wx.windows.PreviewControlBarPtr
d14a1e28 281wxPrintPreview = wx.windows.PrintPreview
423af76e 282wxPrintPreviewPtr = wx.windows.PrintPreviewPtr
d14a1e28 283wxPyPrintPreview = wx.windows.PyPrintPreview
423af76e 284wxPyPrintPreviewPtr = wx.windows.PyPrintPreviewPtr
d14a1e28 285wxPyPreviewFrame = wx.windows.PyPreviewFrame
423af76e 286wxPyPreviewFramePtr = wx.windows.PyPreviewFramePtr
d14a1e28 287wxPyPreviewControlBar = wx.windows.PyPreviewControlBar
423af76e 288wxPyPreviewControlBarPtr = wx.windows.PyPreviewControlBarPtr
d14a1e28
RD
289
290
291d = globals()
292for k, v in wx.windows.__dict__.iteritems():
293 if k.startswith('EVT'):
294 d[k] = v
295 elif k.startswith('IDM'):
296 d[k] = v
297del d, k, v
298
299
300