_handle_urwidpatches.py 文件源码

python
阅读 23 收藏 0 点赞 0 评论 0

项目:stig 作者: rndusr 项目源码 文件源码
def setUpModule():
    # Monkey-patch stuff in the urwid module in-place
    if 'stig.tui.urwidpatches' not in sys.modules:
        import stig.tui.urwidpatches
    else:
        import stig.tui.urwidpatches
        importlib.reload(stig.tui.urwidpatches)
    import urwid
    assert hasattr(urwid.ListBox, 'get_scrollpos')
    assert ' ' not in urwid.command_map._command
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号