Changeset 4213 for trunk/makeBat.py


Ignore:
Timestamp:
Dec 19, 2019 11:04:03 PM (22 months ago)
Author:
toby
Message:

multiple small changes to allow docs build under 3.x

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/makeBat.py

    r3940 r4213  
    2121import datetime
    2222import wx
    23 try:
    24     import _winreg as winreg
    25 except ImportError:
    26     import winreg
    2723
    2824Script = '''@echo ========================================================================
     
    4844
    4945if __name__ == '__main__':
     46    try:
     47        import _winreg as winreg
     48    except ImportError:
     49        import winreg
    5050    app = wx.App()
    5151    app.MainLoop()
Note: See TracChangeset for help on using the changeset viewer.