Regenerated the files for the wx renamer package

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-06-11 23:56:55 +00:00
parent 2ac01a6ca3
commit 1f1c4a921b
115 changed files with 845 additions and 723 deletions

View File

@@ -1,41 +1,74 @@
"""wx package
Provides a way to drop the wx prefix from wxPython objects."""
Provides a way to drop the wx prefix from wxPython objects by
dynamically loading and renaming objects from the real wxPython
package. This is the first phase of a transition to a new style of
using wxPython. For example:
import wx
class MyFrame(wx.Frame):
...
instead of:
from wxPython.wx import *
class MyFrame(wxFrame):
...
or:
from wxPython import wx
class MyFrame(wx.wxFrame):
...
Internally, this package contains only one function, called _rename,
and one dictionary, called _newnames. These are used by wx itself and
by its sub-modules whenever they are imported. The _rename function
changes the names in the real wxPython module being imported according
to the rules that have been decided, e.g. most wx prefixes are
removed, and the new names are made visible in the wx package or
sub-packages.
The _newnames dictionary holds the set of new names (from wx and ALL
sub-modules), keyed by the original name. This serves two purposes,
duplicate old names in different modules are eliminated, the survivor
being the name in wx itself; and the dictionary is accessible to
external scripts whose purpose is to change occurrences of the
corresponding names in application programs that use wx.
"""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
from wxPython import wx
import types
_newnames = {}
d_new = globals()
d_old = wx.__dict__
for old, obj in d_old.items():
def _rename(d_new, d_old, modulename=None):
" copy the names from d_old to d_new according to the rules"
global _newnames
import types
prefix = 'wx.'
if modulename:
prefix += modulename + '.'
for old, obj in d_old.items():
if type(obj) is types.ModuleType or old.startswith('_'):
# Skip modules and private names.
continue
new = old
if old.startswith('EVT_'):
# Leave name unmodified; add to the new wx namespace.
d_new[new] = obj
elif old.startswith('wxEVT_'):
# Leave name unmodified; add to the new wx namespace.
d_new[new] = obj
else:
if old.startswith('wx'):
# Remove the 'wx' prefix.
if old.startswith('wx') and not old.startswith('wxEVT_'):
# remove all wx prefixes except wxEVT_
new = old[2:]
# Add to the new wx package namespace.
else:
# add everything else unchanged
new = old
if _newnames.has_key(old):
d_new[new] = obj
_newnames[old] = prefix + new # add fully qualified new name to lookup using old name as key
del d_new
del d_old
del new
del obj
del old
del types
# rename the wx namespace itself
_rename(globals(), wx.__dict__)
del wx

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython import calendar
prefix.rename(d_new=globals(), d_old=calendar.__dict__)
_rename(globals(), calendar.__dict__, modulename='calendar')
del calendar
del prefix
del wx
del _rename

11
wxPython/wx/dllwidget.py Normal file
View File

@@ -0,0 +1,11 @@
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
from wx import _rename
from wxPython import dllwidget
_rename(globals(), dllwidget.__dict__, modulename='dllwidget')
del dllwidget
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython import gizmos
prefix.rename(d_new=globals(), d_old=gizmos.__dict__)
_rename(globals(), gizmos.__dict__, modulename='gizmos')
del gizmos
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython import glcanvas
prefix.rename(d_new=globals(), d_old=glcanvas.__dict__)
_rename(globals(), glcanvas.__dict__, modulename='glcanvas')
del glcanvas
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython import grid
prefix.rename(d_new=globals(), d_old=grid.__dict__)
_rename(globals(), grid.__dict__, modulename='grid')
del grid
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython import help
prefix.rename(d_new=globals(), d_old=help.__dict__)
_rename(globals(), help.__dict__, modulename='help')
del help
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython import html
prefix.rename(d_new=globals(), d_old=html.__dict__)
_rename(globals(), html.__dict__, modulename='html')
del html
del prefix
del wx
del _rename

View File

@@ -1,15 +0,0 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wxPython import htmlhelp
prefix.rename(d_new=globals(), d_old=htmlhelp.__dict__)
del htmlhelp
del prefix
del wx

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython import iewin
prefix.rename(d_new=globals(), d_old=iewin.__dict__)
_rename(globals(), iewin.__dict__, modulename='iewin')
del iewin
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wxPython.lib import CDate as old
prefix.rename(d_new=globals(), d_old=old.__dict__)
del old
del prefix
del wx
from wx import _rename
from wxPython.lib import CDate
_rename(globals(), CDate.__dict__, modulename='lib.CDate')
del CDate
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib import ClickableHtmlWindow
prefix.rename(d_new=globals(), d_old=ClickableHtmlWindow.__dict__)
_rename(globals(), ClickableHtmlWindow.__dict__, modulename='lib.ClickableHtmlWindow')
del ClickableHtmlWindow
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib import ErrorDialogs
prefix.rename(d_new=globals(), d_old=ErrorDialogs.__dict__)
_rename(globals(), ErrorDialogs.__dict__, modulename='lib.ErrorDialogs')
del ErrorDialogs
del prefix
del wx
del _rename

View File

@@ -0,0 +1,11 @@
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
from wx import _rename
from wxPython.lib import ErrorDialogs_wdr
_rename(globals(), ErrorDialogs_wdr.__dict__, modulename='lib.ErrorDialogs_wdr')
del ErrorDialogs_wdr
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wxPython.lib import PythonBitmaps as old
prefix.rename(d_new=globals(), d_old=old.__dict__)
del old
del prefix
del wx
from wx import _rename
from wxPython.lib import PythonBitmaps
_rename(globals(), PythonBitmaps.__dict__, modulename='lib.PythonBitmaps')
del PythonBitmaps
del _rename

View File

@@ -1 +1 @@
# Python package.
# Python package

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib import activexwrapper
prefix.rename(d_new=globals(), d_old=activexwrapper.__dict__)
_rename(globals(), activexwrapper.__dict__, modulename='lib.activexwrapper')
del activexwrapper
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib import analogclock
prefix.rename(d_new=globals(), d_old=analogclock.__dict__)
_rename(globals(), analogclock.__dict__, modulename='lib.analogclock')
del analogclock
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib import anchors
prefix.rename(d_new=globals(), d_old=anchors.__dict__)
_rename(globals(), anchors.__dict__, modulename='lib.anchors')
del anchors
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib import buttons
prefix.rename(d_new=globals(), d_old=buttons.__dict__)
_rename(globals(), buttons.__dict__, modulename='lib.buttons')
del buttons
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib import calendar
prefix.rename(d_new=globals(), d_old=calendar.__dict__)
_rename(globals(), calendar.__dict__, modulename='lib.calendar')
del calendar
del prefix
del wx
del _rename

View File

@@ -1 +1 @@
# Python package.
# Python package

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib.colourchooser import canvas
prefix.rename(d_new=globals(), d_old=canvas.__dict__)
_rename(globals(), canvas.__dict__, modulename='lib.colourchooser.canvas')
del canvas
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib.colourchooser import intl
prefix.rename(d_new=globals(), d_old=intl.__dict__)
_rename(globals(), intl.__dict__, modulename='lib.colourchooser.intl')
del intl
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib.colourchooser import pycolourbox
prefix.rename(d_new=globals(), d_old=pycolourbox.__dict__)
_rename(globals(), pycolourbox.__dict__, modulename='lib.colourchooser.pycolourbox')
del pycolourbox
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib.colourchooser import pycolourchooser
prefix.rename(d_new=globals(), d_old=pycolourchooser.__dict__)
_rename(globals(), pycolourchooser.__dict__, modulename='lib.colourchooser.pycolourchooser')
del pycolourchooser
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib.colourchooser import pycolourslider
prefix.rename(d_new=globals(), d_old=pycolourslider.__dict__)
_rename(globals(), pycolourslider.__dict__, modulename='lib.colourchooser.pycolourslider')
del pycolourslider
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib.colourchooser import pypalette
prefix.rename(d_new=globals(), d_old=pypalette.__dict__)
_rename(globals(), pypalette.__dict__, modulename='lib.colourchooser.pypalette')
del pypalette
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib import colourdb
prefix.rename(d_new=globals(), d_old=colourdb.__dict__)
_rename(globals(), colourdb.__dict__, modulename='lib.colourdb')
del colourdb
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib import colourselect
prefix.rename(d_new=globals(), d_old=colourselect.__dict__)
_rename(globals(), colourselect.__dict__, modulename='lib.colourselect')
del colourselect
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib import dialogs
prefix.rename(d_new=globals(), d_old=dialogs.__dict__)
_rename(globals(), dialogs.__dict__, modulename='lib.dialogs')
del dialogs
del prefix
del wx
del _rename

View File

@@ -1 +1 @@
# Python package.
# Python package

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib.editor import editor
prefix.rename(d_new=globals(), d_old=editor.__dict__)
_rename(globals(), editor.__dict__, modulename='lib.editor.editor')
del editor
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib.editor import images
prefix.rename(d_new=globals(), d_old=images.__dict__)
_rename(globals(), images.__dict__, modulename='lib.editor.images')
del images
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib.editor import selection
prefix.rename(d_new=globals(), d_old=selection.__dict__)
_rename(globals(), selection.__dict__, modulename='lib.editor.selection')
del selection
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib import evtmgr
prefix.rename(d_new=globals(), d_old=evtmgr.__dict__)
_rename(globals(), evtmgr.__dict__, modulename='lib.evtmgr')
del evtmgr
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib import fancytext
prefix.rename(d_new=globals(), d_old=fancytext.__dict__)
_rename(globals(), fancytext.__dict__, modulename='lib.fancytext')
del fancytext
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib import filebrowsebutton
prefix.rename(d_new=globals(), d_old=filebrowsebutton.__dict__)
_rename(globals(), filebrowsebutton.__dict__, modulename='lib.filebrowsebutton')
del filebrowsebutton
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wxPython.lib import floatbar as old
prefix.rename(d_new=globals(), d_old=old.__dict__)
del old
del prefix
del wx
from wx import _rename
from wxPython.lib import floatbar
_rename(globals(), floatbar.__dict__, modulename='lib.floatbar')
del floatbar
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib import gridmovers
prefix.rename(d_new=globals(), d_old=gridmovers.__dict__)
_rename(globals(), gridmovers.__dict__, modulename='lib.gridmovers')
del gridmovers
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib import grids
prefix.rename(d_new=globals(), d_old=grids.__dict__)
_rename(globals(), grids.__dict__, modulename='lib.grids')
del grids
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib import imagebrowser
prefix.rename(d_new=globals(), d_old=imagebrowser.__dict__)
_rename(globals(), imagebrowser.__dict__, modulename='lib.imagebrowser')
del imagebrowser
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib import imageutils
prefix.rename(d_new=globals(), d_old=imageutils.__dict__)
_rename(globals(), imageutils.__dict__, modulename='lib.imageutils')
del imageutils
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib import infoframe
prefix.rename(d_new=globals(), d_old=infoframe.__dict__)
_rename(globals(), infoframe.__dict__, modulename='lib.infoframe')
del infoframe
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib import intctrl
prefix.rename(d_new=globals(), d_old=intctrl.__dict__)
_rename(globals(), intctrl.__dict__, modulename='lib.intctrl')
del intctrl
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib import layoutf
prefix.rename(d_new=globals(), d_old=layoutf.__dict__)
_rename(globals(), layoutf.__dict__, modulename='lib.layoutf')
del layoutf
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wxPython.lib import maskededit as old
prefix.rename(d_new=globals(), d_old=old.__dict__)
del old
del prefix
del wx
from wx import _rename
from wxPython.lib import maskededit
_rename(globals(), maskededit.__dict__, modulename='lib.maskededit')
del maskededit
del _rename

View File

@@ -1 +1 @@
# Python package.
# Python package

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib.mixins import grid
prefix.rename(d_new=globals(), d_old=grid.__dict__)
_rename(globals(), grid.__dict__, modulename='lib.mixins.grid')
del grid
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib.mixins import imagelist
prefix.rename(d_new=globals(), d_old=imagelist.__dict__)
_rename(globals(), imagelist.__dict__, modulename='lib.mixins.imagelist')
del imagelist
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib.mixins import listctrl
prefix.rename(d_new=globals(), d_old=listctrl.__dict__)
_rename(globals(), listctrl.__dict__, modulename='lib.mixins.listctrl')
del listctrl
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib.mixins import rubberband
prefix.rename(d_new=globals(), d_old=rubberband.__dict__)
_rename(globals(), rubberband.__dict__, modulename='lib.mixins.rubberband')
del rubberband
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib import multisash
prefix.rename(d_new=globals(), d_old=multisash.__dict__)
_rename(globals(), multisash.__dict__, modulename='lib.multisash')
del multisash
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wxPython.lib import mvctree as old
prefix.rename(d_new=globals(), d_old=old.__dict__)
del old
del prefix
del wx
from wx import _rename
from wxPython.lib import mvctree
_rename(globals(), mvctree.__dict__, modulename='lib.mvctree')
del mvctree
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib import popupctl
prefix.rename(d_new=globals(), d_old=popupctl.__dict__)
_rename(globals(), popupctl.__dict__, modulename='lib.popupctl')
del popupctl
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib import printout
prefix.rename(d_new=globals(), d_old=printout.__dict__)
_rename(globals(), printout.__dict__, modulename='lib.printout')
del printout
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wxPython.lib import pubsub as old
prefix.rename(d_new=globals(), d_old=old.__dict__)
del old
del prefix
del wx
from wx import _rename
from wxPython.lib import pubsub
_rename(globals(), pubsub.__dict__, modulename='lib.pubsub')
del pubsub
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wxPython.lib import pyshell as old
prefix.rename(d_new=globals(), d_old=old.__dict__)
del old
del prefix
del wx
from wx import _rename
from wxPython.lib import pyshell
_rename(globals(), pyshell.__dict__, modulename='lib.pyshell')
del pyshell
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib import rcsizer
prefix.rename(d_new=globals(), d_old=rcsizer.__dict__)
_rename(globals(), rcsizer.__dict__, modulename='lib.rcsizer')
del rcsizer
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib import rightalign
prefix.rename(d_new=globals(), d_old=rightalign.__dict__)
_rename(globals(), rightalign.__dict__, modulename='lib.rightalign')
del rightalign
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wxPython.lib import rpcMixin as old
prefix.rename(d_new=globals(), d_old=old.__dict__)
del old
del prefix
del wx
from wx import _rename
from wxPython.lib import rpcMixin
_rename(globals(), rpcMixin.__dict__, modulename='lib.rpcMixin')
del rpcMixin
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wxPython.lib import scrolledpanel as old
prefix.rename(d_new=globals(), d_old=old.__dict__)
del old
del prefix
del wx
from wx import _rename
from wxPython.lib import scrolledpanel
_rename(globals(), scrolledpanel.__dict__, modulename='lib.scrolledpanel')
del scrolledpanel
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib import sheet
prefix.rename(d_new=globals(), d_old=sheet.__dict__)
_rename(globals(), sheet.__dict__, modulename='lib.sheet')
del sheet
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wxPython.lib import shell as old
prefix.rename(d_new=globals(), d_old=old.__dict__)
del old
del prefix
del wx
from wx import _rename
from wxPython.lib import shell
_rename(globals(), shell.__dict__, modulename='lib.shell')
del shell
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wxPython.lib import splashscreen as old
prefix.rename(d_new=globals(), d_old=old.__dict__)
del old
del prefix
del wx
from wx import _rename
from wxPython.lib import splashscreen
_rename(globals(), splashscreen.__dict__, modulename='lib.splashscreen')
del splashscreen
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib import stattext
prefix.rename(d_new=globals(), d_old=stattext.__dict__)
_rename(globals(), stattext.__dict__, modulename='lib.stattext')
del stattext
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib import throbber
prefix.rename(d_new=globals(), d_old=throbber.__dict__)
_rename(globals(), throbber.__dict__, modulename='lib.throbber')
del throbber
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib import timectrl
prefix.rename(d_new=globals(), d_old=timectrl.__dict__)
_rename(globals(), timectrl.__dict__, modulename='lib.timectrl')
del timectrl
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wxPython.lib import vtk as old
prefix.rename(d_new=globals(), d_old=old.__dict__)
del old
del prefix
del wx
from wx import _rename
from wxPython.lib import vtk
_rename(globals(), vtk.__dict__, modulename='lib.vtk')
del vtk
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib import wxPlotCanvas
prefix.rename(d_new=globals(), d_old=wxPlotCanvas.__dict__)
_rename(globals(), wxPlotCanvas.__dict__, modulename='lib.wxPlotCanvas')
del wxPlotCanvas
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython.lib import wxpTag
prefix.rename(d_new=globals(), d_old=wxpTag.__dict__)
_rename(globals(), wxpTag.__dict__, modulename='lib.wxpTag')
del wxpTag
del prefix
del wx
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython import ogl
prefix.rename(d_new=globals(), d_old=ogl.__dict__)
_rename(globals(), ogl.__dict__, modulename='ogl')
del ogl
del prefix
del wx
del _rename

View File

@@ -1,28 +0,0 @@
"""Renaming utility.
Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import types
def rename(d_new, d_old):
for old, obj in d_old.items():
if type(obj) is types.ModuleType or old.startswith('_'):
# Skip modules and private names.
continue
## mod = d_old['__name__']
## if hasattr(obj, '__module__') and not obj.__module__.startswith(mod):
## # Skip objects imported from other modules, except those
## # related to the current module, such as stc_.
## continue
new = old
if old.startswith('EVT_') or old.startswith('wxEVT_'):
# Leave these names unmodified.
pass
elif old.startswith('wx'):
new = old[2:]
if new:
d_new[new] = d_old[old]

View File

@@ -1,3 +1,11 @@
# Py is really located in the old namespace, but it doesn't need any
# renaming done.
from wxPython.py.PyAlaCarte import *
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
from wx import _rename
from wxPython.py import PyAlaCarte
_rename(globals(), PyAlaCarte.__dict__, modulename='py.PyAlaCarte')
del PyAlaCarte
del _rename

View File

@@ -1,3 +1,11 @@
# Py is really located in the old namespace, but it doesn't need any
# renaming done.
from wxPython.py.PyAlaMode import *
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
from wx import _rename
from wxPython.py import PyAlaMode
_rename(globals(), PyAlaMode.__dict__, modulename='py.PyAlaMode')
del PyAlaMode
del _rename

View File

@@ -1,3 +1,11 @@
# Py is really located in the old namespace, but it doesn't need any
# renaming done.
from wxPython.py.PyCrust import *
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
from wx import _rename
from wxPython.py import PyCrust
_rename(globals(), PyCrust.__dict__, modulename='py.PyCrust')
del PyCrust
del _rename

View File

@@ -1,3 +1,11 @@
# Py is really located in the old namespace, but it doesn't need any
# renaming done.
from wxPython.py.PyFilling import *
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
from wx import _rename
from wxPython.py import PyFilling
_rename(globals(), PyFilling.__dict__, modulename='py.PyFilling')
del PyFilling
del _rename

View File

@@ -1,3 +1,11 @@
# Py is really located in the old namespace, but it doesn't need any
# renaming done.
from wxPython.py.PyShell import *
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
from wx import _rename
from wxPython.py import PyShell
_rename(globals(), PyShell.__dict__, modulename='py.PyShell')
del PyShell
del _rename

View File

@@ -1,3 +1,11 @@
# Py is really located in the old namespace, but it doesn't need any
# renaming done.
from wxPython.py.PyWrap import *
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
from wx import _rename
from wxPython.py import PyWrap
_rename(globals(), PyWrap.__dict__, modulename='py.PyWrap')
del PyWrap
del _rename

View File

@@ -1,3 +1 @@
# Py is really located in the old namespace, but it doesn't need any
# renaming done.
from wxPython.py import *
# Python package

11
wxPython/wx/py/buffer.py Normal file
View File

@@ -0,0 +1,11 @@
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
from wx import _rename
from wxPython.py import buffer
_rename(globals(), buffer.__dict__, modulename='py.buffer')
del buffer
del _rename

11
wxPython/wx/py/crust.py Normal file
View File

@@ -0,0 +1,11 @@
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
from wx import _rename
from wxPython.py import crust
_rename(globals(), crust.__dict__, modulename='py.crust')
del crust
del _rename

View File

@@ -0,0 +1,11 @@
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
from wx import _rename
from wxPython.py import dispatcher
_rename(globals(), dispatcher.__dict__, modulename='py.dispatcher')
del dispatcher
del _rename

View File

@@ -0,0 +1,11 @@
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
from wx import _rename
from wxPython.py import document
_rename(globals(), document.__dict__, modulename='py.document')
del document
del _rename

11
wxPython/wx/py/editor.py Normal file
View File

@@ -0,0 +1,11 @@
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
from wx import _rename
from wxPython.py import editor
_rename(globals(), editor.__dict__, modulename='py.editor')
del editor
del _rename

View File

@@ -0,0 +1,11 @@
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
from wx import _rename
from wxPython.py import editwindow
_rename(globals(), editwindow.__dict__, modulename='py.editwindow')
del editwindow
del _rename

11
wxPython/wx/py/filling.py Normal file
View File

@@ -0,0 +1,11 @@
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
from wx import _rename
from wxPython.py import filling
_rename(globals(), filling.__dict__, modulename='py.filling')
del filling
del _rename

11
wxPython/wx/py/frame.py Normal file
View File

@@ -0,0 +1,11 @@
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
from wx import _rename
from wxPython.py import frame
_rename(globals(), frame.__dict__, modulename='py.frame')
del frame
del _rename

11
wxPython/wx/py/images.py Normal file
View File

@@ -0,0 +1,11 @@
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
from wx import _rename
from wxPython.py import images
_rename(globals(), images.__dict__, modulename='py.images')
del images
del _rename

View File

@@ -0,0 +1,11 @@
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
from wx import _rename
from wxPython.py import interpreter
_rename(globals(), interpreter.__dict__, modulename='py.interpreter')
del interpreter
del _rename

View File

@@ -0,0 +1,11 @@
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
from wx import _rename
from wxPython.py import introspect
_rename(globals(), introspect.__dict__, modulename='py.introspect')
del introspect
del _rename

11
wxPython/wx/py/pseudo.py Normal file
View File

@@ -0,0 +1,11 @@
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
from wx import _rename
from wxPython.py import pseudo
_rename(globals(), pseudo.__dict__, modulename='py.pseudo')
del pseudo
del _rename

11
wxPython/wx/py/shell.py Normal file
View File

@@ -0,0 +1,11 @@
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
from wx import _rename
from wxPython.py import shell
_rename(globals(), shell.__dict__, modulename='py.shell')
del shell
del _rename

11
wxPython/wx/py/version.py Normal file
View File

@@ -0,0 +1,11 @@
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
from wx import _rename
from wxPython.py import version
_rename(globals(), version.__dict__, modulename='py.version')
del version
del _rename

View File

@@ -1,15 +1,11 @@
"""Provides a way to drop the wx prefix from wxPython objects."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import prefix
from wx import _rename
from wxPython import stc
prefix.rename(d_new=globals(), d_old=stc.__dict__)
_rename(globals(), stc.__dict__, modulename='stc')
del stc
del prefix
del wx
del _rename

View File

@@ -0,0 +1 @@
# Python package

View File

@@ -0,0 +1,11 @@
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
from wx import _rename
from wxPython.tools.XRCed import encode_bitmaps
_rename(globals(), encode_bitmaps.__dict__, modulename='tools.XRCed.encode_bitmaps')
del encode_bitmaps
del _rename

View File

@@ -0,0 +1,11 @@
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
from wx import _rename
from wxPython.tools.XRCed import globals
_rename(globals(), globals.__dict__, modulename='tools.XRCed.globals')
del globals
del _rename

View File

@@ -0,0 +1,11 @@
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
from wx import _rename
from wxPython.tools.XRCed import images
_rename(globals(), images.__dict__, modulename='tools.XRCed.images')
del images
del _rename

View File

@@ -0,0 +1,11 @@
"""Renamer stub: provides a way to drop the wx prefix from wxPython objects."""
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
from wx import _rename
from wxPython.tools.XRCed import panel
_rename(globals(), panel.__dict__, modulename='tools.XRCed.panel')
del panel
del _rename

Some files were not shown because too many files have changed in this diff Show More