py2docfx 0.1.15rc2025477__py3-none-any.whl → 0.1.16__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- py2docfx/docfx_yaml/process_doctree.py +21 -34
- py2docfx/docfx_yaml/tests/test_method_arguments.py +1 -7
- py2docfx/docfx_yaml/tests/test_process_doctree.py +120 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_core_metadata.py +21 -5
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/_msvccompiler.py +13 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/ccompiler.py +5 -2
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/build.py +1 -6
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/build_clib.py +1 -9
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/build_ext.py +1 -8
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/check.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/config.py +0 -2
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/install.py +8 -17
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compat/numpy.py +2 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/base.py +8 -5
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/msvc.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/compilers/C/unix.py +15 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/dist.py +2 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/sysconfig.py +0 -10
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/tests/test_build_ext.py +60 -5
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/unixccompiler.py +6 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/util.py +7 -6
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_normalization.py +29 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/__init__.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/_bdist_wheel.py +613 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/_setuptools_logging.py +2 -2
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/bdist_wheel.py +25 -594
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/cli/__init__.py +6 -6
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/cli/convert.py +282 -223
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/macosx_libfile.py +22 -9
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/metadata.py +16 -13
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/util.py +0 -9
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_vendor/wheel/wheelfile.py +40 -9
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/command/bdist_wheel.py +6 -2
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/config/_apply_pyprojecttoml.py +49 -11
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/config/_validate_pyproject/extra_validations.py +31 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/config/_validate_pyproject/fastjsonschema_validations.py +222 -129
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/config/_validate_pyproject/formats.py +30 -3
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/dist.py +168 -51
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/msvc.py +12 -3
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/config/test_apply_pyprojecttoml.py +246 -13
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/config/test_setupcfg.py +42 -29
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/integration/test_pip_install_sdist.py +1 -1
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_bdist_wheel.py +93 -8
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_build_meta.py +17 -4
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_core_metadata.py +45 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_egg_info.py +24 -4
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/test_sdist.py +13 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/__init__.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/any_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/api_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/compiler/plugin_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/descriptor_database.py +22 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/descriptor_pb2.py +82 -35
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/duration_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/empty_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/field_mask_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/builder.py +4 -3
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/containers.py +13 -0
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/decoder.py +62 -115
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/python_edition_defaults.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/python_message.py +15 -18
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/testing_refleaks.py +4 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/type_checkers.py +5 -0
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/well_known_types.py +3 -3
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/json_format.py +25 -9
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/message.py +26 -0
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/message_factory.py +0 -63
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/proto.py +38 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/proto_text.py +129 -0
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/reflection.py +0 -49
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/runtime_version.py +3 -3
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/source_context_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/struct_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/symbol_database.py +0 -18
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/text_format.py +8 -3
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/timestamp_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/type_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/unknown_fields.py +3 -4
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/wrappers_pb2.py +4 -4
- py2docfx/venv/venv1/Lib/site-packages/msal/__init__.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/msal/application.py +51 -17
- py2docfx/venv/venv1/Lib/site-packages/msal/broker.py +18 -4
- py2docfx/venv/venv1/Lib/site-packages/msal/cloudshell.py +5 -1
- py2docfx/venv/venv1/Lib/site-packages/msal/managed_identity.py +5 -4
- py2docfx/venv/venv1/Lib/site-packages/msal/sku.py +6 -0
- py2docfx/venv/venv1/Lib/site-packages/msal/token_cache.py +31 -10
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/__init__.py +2 -3
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/cache_lock.py +4 -1
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/filelock.py +62 -0
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/libsecret.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/msal_extensions/token_cache.py +7 -1
- py2docfx/venv/venv1/Lib/site-packages/pyasn1_modules/__init__.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_core_metadata.py +21 -5
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/_msvccompiler.py +13 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/ccompiler.py +5 -2
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/build.py +1 -6
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/build_clib.py +1 -9
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/build_ext.py +1 -8
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/check.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/config.py +0 -2
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/install.py +8 -17
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compat/numpy.py +2 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/base.py +8 -5
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/msvc.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/compilers/C/unix.py +15 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/dist.py +2 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/sysconfig.py +0 -10
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/tests/test_build_ext.py +60 -5
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/unixccompiler.py +6 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/util.py +7 -6
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_normalization.py +29 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/__init__.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/_bdist_wheel.py +613 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/_setuptools_logging.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/bdist_wheel.py +25 -594
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/cli/__init__.py +6 -6
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/cli/convert.py +282 -223
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/macosx_libfile.py +22 -9
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/metadata.py +16 -13
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/util.py +0 -9
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_vendor/wheel/wheelfile.py +40 -9
- py2docfx/venv/venv1/Lib/site-packages/setuptools/command/bdist_wheel.py +6 -2
- py2docfx/venv/venv1/Lib/site-packages/setuptools/config/_apply_pyprojecttoml.py +49 -11
- py2docfx/venv/venv1/Lib/site-packages/setuptools/config/_validate_pyproject/extra_validations.py +31 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/config/_validate_pyproject/fastjsonschema_validations.py +222 -129
- py2docfx/venv/venv1/Lib/site-packages/setuptools/config/_validate_pyproject/formats.py +30 -3
- py2docfx/venv/venv1/Lib/site-packages/setuptools/dist.py +168 -51
- py2docfx/venv/venv1/Lib/site-packages/setuptools/msvc.py +12 -3
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/config/test_apply_pyprojecttoml.py +246 -13
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/config/test_setupcfg.py +42 -29
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/integration/test_pip_install_sdist.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_bdist_wheel.py +93 -8
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_build_meta.py +17 -4
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_core_metadata.py +45 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_egg_info.py +24 -4
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/test_sdist.py +13 -1
- py2docfx/venv/venv1/Lib/site-packages/typing_extensions.py +999 -74
- {py2docfx-0.1.15rc2025477.dist-info → py2docfx-0.1.16.dist-info}/METADATA +1 -1
- {py2docfx-0.1.15rc2025477.dist-info → py2docfx-0.1.16.dist-info}/RECORD +141 -596
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/__init__.py +0 -82
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/ado_consts.py +0 -283
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/adodbapi.py +0 -1153
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/apibase.py +0 -723
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/examples/db_print.py +0 -72
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/examples/db_table_names.py +0 -21
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/examples/xls_read.py +0 -41
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/examples/xls_write.py +0 -41
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/is64bit.py +0 -34
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/process_connect_string.py +0 -137
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/schema_table.py +0 -16
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/setup.py +0 -68
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/adodbapitest.py +0 -1547
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/adodbapitestconfig.py +0 -184
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/dbapi20.py +0 -879
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/is64bit.py +0 -34
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/setuptestframework.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/test_adodbapi_dbapi20.py +0 -195
- py2docfx/venv/venv1/Lib/site-packages/adodbapi/test/tryconnection.py +0 -30
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/internal/_parameterized.py +0 -420
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/service.py +0 -213
- py2docfx/venv/venv1/Lib/site-packages/isapi/__init__.py +0 -39
- py2docfx/venv/venv1/Lib/site-packages/isapi/install.py +0 -809
- py2docfx/venv/venv1/Lib/site-packages/isapi/isapicon.py +0 -121
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/advanced.py +0 -218
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/redirector.py +0 -116
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/redirector_asynch.py +0 -85
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/redirector_with_filter.py +0 -162
- py2docfx/venv/venv1/Lib/site-packages/isapi/samples/test.py +0 -195
- py2docfx/venv/venv1/Lib/site-packages/isapi/simple.py +0 -73
- py2docfx/venv/venv1/Lib/site-packages/isapi/test/extension_simple.py +0 -114
- py2docfx/venv/venv1/Lib/site-packages/isapi/threaded_extension.py +0 -191
- py2docfx/venv/venv1/Lib/site-packages/portalocker/__about__.py +0 -6
- py2docfx/venv/venv1/Lib/site-packages/portalocker/__init__.py +0 -79
- py2docfx/venv/venv1/Lib/site-packages/portalocker/__main__.py +0 -122
- py2docfx/venv/venv1/Lib/site-packages/portalocker/constants.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/portalocker/exceptions.py +0 -27
- py2docfx/venv/venv1/Lib/site-packages/portalocker/portalocker.py +0 -154
- py2docfx/venv/venv1/Lib/site-packages/portalocker/redis.py +0 -236
- py2docfx/venv/venv1/Lib/site-packages/portalocker/utils.py +0 -569
- py2docfx/venv/venv1/Lib/site-packages/pythoncom.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/basictimerapp.py +0 -258
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/customprint.py +0 -183
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/demoutils.py +0 -63
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/dlgappdemo.py +0 -51
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/dojobapp.py +0 -71
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/app/helloapp.py +0 -53
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/cmdserver.py +0 -113
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/createwin.py +0 -114
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/demoutils.py +0 -65
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/dibdemo.py +0 -73
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/dlgtest.py +0 -145
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/dyndlg.py +0 -104
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/fontdemo.py +0 -85
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/guidemo.py +0 -53
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/hiertest.py +0 -138
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/menutest.py +0 -13
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/objdoc.py +0 -57
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/demoutils.py +0 -63
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/flash.py +0 -95
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/msoffice.py +0 -159
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/ocxserialtest.py +0 -132
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/ocxtest.py +0 -243
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/ocx/webbrowser.py +0 -72
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/openGLDemo.py +0 -415
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/progressbar.py +0 -105
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/sliderdemo.py +0 -76
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/splittst.py +0 -79
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/threadedgui.py +0 -189
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/Demos/toolbar.py +0 -105
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/__init__.py +0 -3
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/__init__.py +0 -133
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/configui.py +0 -34
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/dbgcon.py +0 -31
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/dbgpyapp.py +0 -48
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/debugger.py +0 -1097
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/debugger/fail.py +0 -54
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/ideoptions.py +0 -136
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/list.py +0 -146
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/login.py +0 -155
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/dialogs/status.py +0 -242
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/docking/DockingBar.py +0 -676
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/docking/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/app.py +0 -411
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/bitmap.py +0 -168
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/cmdline.py +0 -54
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/dbgcommands.py +0 -188
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/dlgappcore.py +0 -76
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/ModuleBrowser.py +0 -235
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/__init__.py +0 -105
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/color/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/color/coloreditor.py +0 -646
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/configui.py +0 -299
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/document.py +0 -379
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/editor.py +0 -511
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/frame.py +0 -74
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/template.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/editor/vss.py +0 -104
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/help.py +0 -173
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/interact.py +0 -995
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/intpyapp.py +0 -552
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/intpydde.py +0 -65
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/scriptutils.py +0 -684
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/sgrepmdi.py +0 -749
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/startup.py +0 -70
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/stdin.py +0 -172
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/toolmenu.py +0 -279
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/window.py +0 -14
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/framework/winout.py +0 -589
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/AutoExpand.py +0 -95
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/AutoIndent.py +0 -536
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/CallTips.py +0 -216
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/FormatParagraph.py +0 -166
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/IdleHistory.py +0 -87
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/PyParse.py +0 -585
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/idle/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/activex.py +0 -79
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/afxres.py +0 -501
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/dialog.py +0 -277
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/docview.py +0 -151
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/object.py +0 -66
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/thread.py +0 -25
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/mfc/window.py +0 -50
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/IDLEenvironment.py +0 -593
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/bindings.py +0 -180
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/config.py +0 -363
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/configui.py +0 -291
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/control.py +0 -565
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/document.py +0 -312
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/find.py +0 -511
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/formatter.py +0 -704
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/keycodes.py +0 -190
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/scintillacon.py +0 -3083
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/scintilla/view.py +0 -841
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/TraceCollector.py +0 -79
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/browseProjects.py +0 -323
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/browser.py +0 -494
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/hierlist.py +0 -353
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/regedit.py +0 -382
- py2docfx/venv/venv1/Lib/site-packages/pythonwin/pywin/tools/regpy.py +0 -80
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/BackupRead_BackupWrite.py +0 -119
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/BackupSeek_streamheaders.py +0 -137
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/CopyFileEx.py +0 -57
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/CreateFileTransacted_MiniVersion.py +0 -122
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/EvtFormatMessage.py +0 -83
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/EvtSubscribe_pull.py +0 -28
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/EvtSubscribe_push.py +0 -32
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/FileSecurityTest.py +0 -137
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/GetSaveFileName.py +0 -43
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/NetValidatePasswordPolicy.py +0 -127
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/OpenEncryptedFileRaw.py +0 -66
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/RegCreateKeyTransacted.py +0 -60
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/RegRestoreKey.py +0 -71
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/SystemParametersInfo.py +0 -210
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/c_extension/setup.py +0 -26
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/dde/ddeclient.py +0 -18
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/dde/ddeserver.py +0 -42
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/desktopmanager.py +0 -246
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/eventLogDemo.py +0 -143
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/getfilever.py +0 -33
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/mmapfile_demo.py +0 -101
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/pipes/cat.py +0 -17
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/pipes/runproc.py +0 -114
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/print_desktop.py +0 -113
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/rastest.py +0 -166
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/GetTokenInformation.py +0 -110
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/account_rights.py +0 -49
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/explicit_entries.py +0 -170
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/get_policy_info.py +0 -39
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/list_rights.py +0 -35
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/localized_names.py +0 -70
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/lsaregevent.py +0 -14
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/lsastore.py +0 -12
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/query_information.py +0 -25
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/regsave_sa.py +0 -61
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/regsecurity.py +0 -36
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sa_inherit.py +0 -8
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/security_enums.py +0 -336
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/set_file_audit.py +0 -106
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/set_file_owner.py +0 -73
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/set_policy_info.py +0 -25
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setkernelobjectsecurity.py +0 -134
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setnamedsecurityinfo.py +0 -131
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setsecurityinfo.py +0 -131
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/setuserobjectsecurity.py +0 -102
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/fetch_url.py +0 -158
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/simple_auth.py +0 -72
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/socket_server.py +0 -199
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/security/sspi/validate_password.py +0 -41
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/service/nativePipeTestService.py +0 -63
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/service/pipeTestService.py +0 -185
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/service/pipeTestServiceClient.py +0 -158
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/service/serviceEvents.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/timer_demo.py +0 -72
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32clipboardDemo.py +0 -155
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32clipboard_bitmapdemo.py +0 -117
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32comport_demo.py +0 -174
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32console_demo.py +0 -132
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32cred_demo.py +0 -82
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32fileDemo.py +0 -41
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_demo.py +0 -177
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_devicenotify.py +0 -106
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_dialog.py +0 -445
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_menu.py +0 -464
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32gui_taskbar.py +0 -136
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32netdemo.py +0 -272
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32rcparser_demo.py +0 -86
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32servicedemo.py +0 -23
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32ts_logoff_disconnected.py +0 -25
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32wnet/testwnet.py +0 -123
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/win32wnet/winnetwk.py +0 -100
- py2docfx/venv/venv1/Lib/site-packages/win32/Demos/winprocess.py +0 -230
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/_win32verstamp_pywin32ctypes.py +0 -164
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/afxres.py +0 -8
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/commctrl.py +0 -1551
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/mmsystem.py +0 -956
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/netbios.py +0 -293
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/ntsecuritycon.py +0 -731
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/pywin32_bootstrap.py +0 -21
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/pywin32_testutil.py +0 -291
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/pywintypes.py +0 -124
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/rasutil.py +0 -40
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/regcheck.py +0 -161
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/regutil.py +0 -395
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/sspi.py +0 -413
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/sspicon.py +0 -477
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win2kras.py +0 -14
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32con.py +0 -5064
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32cryptcon.py +0 -1922
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32evtlogutil.py +0 -225
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32gui_struct.py +0 -957
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32inetcon.py +0 -1086
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32netcon.py +0 -627
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32pdhquery.py +0 -570
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32pdhutil.py +0 -212
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32rcparser.py +0 -674
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32serviceutil.py +0 -1073
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32timezone.py +0 -1201
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32traceutil.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/win32verstamp.py +0 -235
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winerror.py +0 -7362
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winioctlcon.py +0 -1079
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winnt.py +0 -1347
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winperf.py +0 -236
- py2docfx/venv/venv1/Lib/site-packages/win32/lib/winxptheme.py +0 -8
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/ControlService.py +0 -594
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/VersionStamp/BrandProject.py +0 -97
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/VersionStamp/bulkstamp.py +0 -156
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/VersionStamp/vssutil.py +0 -201
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/backupEventLog.py +0 -46
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/h2py.py +0 -194
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/killProcName.py +0 -62
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/pywin32_postinstall.py +0 -733
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/pywin32_testall.py +0 -120
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/rasutil.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/regsetup.py +0 -607
- py2docfx/venv/venv1/Lib/site-packages/win32/scripts/setup_d.py +0 -111
- py2docfx/venv/venv1/Lib/site-packages/win32/test/handles.py +0 -175
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_clipboard.py +0 -137
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_exceptions.py +0 -213
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_odbc.py +0 -264
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_pywintypes.py +0 -111
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_security.py +0 -166
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_sspi.py +0 -229
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32api.py +0 -273
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32clipboard.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32cred.py +0 -91
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32crypt.py +0 -144
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32event.py +0 -119
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32file.py +0 -1096
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32gui.py +0 -227
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32guistruct.py +0 -333
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32inet.py +0 -108
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32net.py +0 -23
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32pipe.py +0 -148
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32print.py +0 -24
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32profile.py +0 -19
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32rcparser.py +0 -70
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32timezone.py +0 -16
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32trace.py +0 -366
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32ts.py +0 -19
- py2docfx/venv/venv1/Lib/site-packages/win32/test/test_win32wnet.py +0 -174
- py2docfx/venv/venv1/Lib/site-packages/win32/test/testall.py +0 -223
- py2docfx/venv/venv1/Lib/site-packages/win32/winxpgui.py +0 -13
- py2docfx/venv/venv1/Lib/site-packages/win32com/__init__.py +0 -134
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/CLSIDToClass.py +0 -60
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/__init__.py +0 -717
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/build.py +0 -771
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/combrowse.py +0 -604
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/connect.py +0 -48
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/dynamic.py +0 -699
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/gencache.py +0 -825
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/genpy.py +0 -1350
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/makepy.py +0 -453
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/selecttlb.py +0 -182
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/tlbrowse.py +0 -277
- py2docfx/venv/venv1/Lib/site-packages/win32com/client/util.py +0 -103
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/connect.py +0 -96
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/dump_clipboard.py +0 -74
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/eventsApartmentThreaded.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/eventsFreeThreaded.py +0 -92
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/excelAddin.py +0 -169
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/excelRTDServer.py +0 -434
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/iebutton.py +0 -214
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/ietoolbar.py +0 -368
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/outlookAddin.py +0 -135
- py2docfx/venv/venv1/Lib/site-packages/win32com/demos/trybag.py +0 -78
- py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/makegw.py +0 -618
- py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/makegwenum.py +0 -331
- py2docfx/venv/venv1/Lib/site-packages/win32com/makegw/makegwparse.py +0 -1017
- py2docfx/venv/venv1/Lib/site-packages/win32com/olectl.py +0 -70
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/connect.py +0 -85
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/dispatcher.py +0 -239
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/exception.py +0 -99
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/factory.py +0 -26
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/localserver.py +0 -53
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/policy.py +0 -803
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/register.py +0 -677
- py2docfx/venv/venv1/Lib/site-packages/win32com/server/util.py +0 -229
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/PythonTools.py +0 -47
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/dictionary.py +0 -133
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/interp.py +0 -59
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/perfmon.py +0 -36
- py2docfx/venv/venv1/Lib/site-packages/win32com/servers/test_pycomtest.py +0 -181
- py2docfx/venv/venv1/Lib/site-packages/win32com/storagecon.py +0 -142
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/GenTestScripts.py +0 -95
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/daodump.py +0 -88
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/errorSemantics.py +0 -243
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/pippo_server.py +0 -96
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/policySemantics.py +0 -115
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testADOEvents.py +0 -100
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testAXScript.py +0 -44
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testAccess.py +0 -185
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testArrays.py +0 -99
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testClipboard.py +0 -169
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testCollections.py +0 -159
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testConversionErrors.py +0 -35
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testDCOM.py +0 -50
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testDates.py +0 -74
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testDictionary.py +0 -101
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testDynamic.py +0 -83
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testExchange.py +0 -121
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testExplorer.py +0 -139
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testGIT.py +0 -142
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testGatewayAddresses.py +0 -149
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testIterators.py +0 -140
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testMSOffice.py +0 -184
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testMSOfficeEvents.py +0 -138
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testMarshal.py +0 -160
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testPersist.py +0 -227
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testPippo.py +0 -80
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testPyComTest.py +0 -918
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testROT.py +0 -29
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testServers.py +0 -51
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testShell.py +0 -272
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testStorage.py +0 -88
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testStreams.py +0 -147
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testWMI.py +0 -18
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testall.py +0 -320
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testmakepy.py +0 -54
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testvb.py +0 -583
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testvbscript_regexp.py +0 -40
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/testxslt.py +0 -34
- py2docfx/venv/venv1/Lib/site-packages/win32com/test/util.py +0 -262
- py2docfx/venv/venv1/Lib/site-packages/win32com/universal.py +0 -224
- py2docfx/venv/venv1/Lib/site-packages/win32com/util.py +0 -35
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/__init__.py +0 -113
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/adsicon.py +0 -340
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/demos/objectPicker.py +0 -68
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/demos/scp.py +0 -565
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/demos/search.py +0 -151
- py2docfx/venv/venv1/Lib/site-packages/win32comext/adsi/demos/test.py +0 -274
- py2docfx/venv/venv1/Lib/site-packages/win32comext/authorization/__init__.py +0 -6
- py2docfx/venv/venv1/Lib/site-packages/win32comext/authorization/demos/EditSecurity.py +0 -229
- py2docfx/venv/venv1/Lib/site-packages/win32comext/authorization/demos/EditServiceSecurity.py +0 -219
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axcontrol/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/adb.py +0 -467
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/codecontainer.py +0 -279
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/contexts.py +0 -58
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/debugger.py +0 -238
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/documents.py +0 -135
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/dump.py +0 -57
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/expressions.py +0 -212
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/gateways.py +0 -583
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/stackframe.py +0 -178
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axdebug/util.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/asputil.py +0 -13
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/debug.py +0 -223
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/error.py +0 -262
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/framework.py +0 -1291
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/pydumper.py +0 -78
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/pyscript.py +0 -438
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/pyscript_rexec.py +0 -54
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/client/scriptdispatch.py +0 -103
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/server/__init__.py +0 -0
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/server/axsite.py +0 -145
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/test/leakTest.py +0 -185
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/test/testHost.py +0 -240
- py2docfx/venv/venv1/Lib/site-packages/win32comext/axscript/test/testHost4Dbg.py +0 -83
- py2docfx/venv/venv1/Lib/site-packages/win32comext/bits/__init__.py +0 -6
- py2docfx/venv/venv1/Lib/site-packages/win32comext/bits/test/show_all_jobs.py +0 -48
- py2docfx/venv/venv1/Lib/site-packages/win32comext/bits/test/test_bits.py +0 -119
- py2docfx/venv/venv1/Lib/site-packages/win32comext/directsound/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/directsound/test/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/directsound/test/ds_record.py +0 -60
- py2docfx/venv/venv1/Lib/site-packages/win32comext/directsound/test/ds_test.py +0 -402
- py2docfx/venv/venv1/Lib/site-packages/win32comext/ifilter/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/ifilter/demo/filterDemo.py +0 -300
- py2docfx/venv/venv1/Lib/site-packages/win32comext/ifilter/ifiltercon.py +0 -110
- py2docfx/venv/venv1/Lib/site-packages/win32comext/internet/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/internet/inetcon.py +0 -261
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/__init__.py +0 -21
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/demos/mapisend.py +0 -98
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/emsabtags.py +0 -875
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/mapitags.py +0 -1023
- py2docfx/venv/venv1/Lib/site-packages/win32comext/mapi/mapiutil.py +0 -211
- py2docfx/venv/venv1/Lib/site-packages/win32comext/propsys/__init__.py +0 -1
- py2docfx/venv/venv1/Lib/site-packages/win32comext/propsys/pscon.py +0 -838
- py2docfx/venv/venv1/Lib/site-packages/win32comext/propsys/test/testpropsys.py +0 -5
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/__init__.py +0 -4
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/IActiveDesktop.py +0 -83
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/IFileOperationProgressSink.py +0 -179
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/IShellLinkDataList.py +0 -67
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/ITransferAdviseSink.py +0 -93
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/IUniformResourceLocator.py +0 -56
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/browse_for_folder.py +0 -45
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/create_link.py +0 -73
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/dump_link.py +0 -58
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/explorer_browser.py +0 -143
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/column_provider.py +0 -125
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/context_menu.py +0 -122
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/copy_hook.py +0 -84
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/empty_volume_cache.py +0 -188
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/folder_view.py +0 -866
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/icon_handler.py +0 -81
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/servers/shell_view.py +0 -971
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/shellexecuteex.py +0 -19
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/viewstate.py +0 -68
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/demos/walk_shell_folders.py +0 -24
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/shellcon.py +0 -1615
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/test/testSHFileOperation.py +0 -75
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/test/testShellFolder.py +0 -21
- py2docfx/venv/venv1/Lib/site-packages/win32comext/shell/test/testShellItem.py +0 -69
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/__init__.py +0 -6
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/test/test_addtask.py +0 -66
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/test/test_addtask_1.py +0 -68
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/test/test_addtask_2.py +0 -49
- py2docfx/venv/venv1/Lib/site-packages/win32comext/taskscheduler/test/test_localsystem.py +0 -3
- py2docfx/venv/venv1/Scripts/pywin32_postinstall.py +0 -733
- py2docfx/venv/venv1/Scripts/pywin32_testall.py +0 -120
- {py2docfx-0.1.15rc2025477.dist-info → py2docfx-0.1.16.dist-info}/WHEEL +0 -0
- {py2docfx-0.1.15rc2025477.dist-info → py2docfx-0.1.16.dist-info}/top_level.txt +0 -0
@@ -1,589 +0,0 @@
|
|
1
|
-
# winout.py
|
2
|
-
#
|
3
|
-
# generic "output window"
|
4
|
-
#
|
5
|
-
# This Window will detect itself closing, and recreate next time output is
|
6
|
-
# written to it.
|
7
|
-
|
8
|
-
# This has the option of writing output at idle time (by hooking the
|
9
|
-
# idle message, and queueing output) or writing as each
|
10
|
-
# write is executed.
|
11
|
-
# Updating the window directly gives a jerky appearance as many writes
|
12
|
-
# take place between commands, and the windows scrolls, and updates etc
|
13
|
-
# Updating at idle-time may defer all output of a long process, giving the
|
14
|
-
# appearence nothing is happening.
|
15
|
-
# There is a compromise "line" mode, which will output whenever
|
16
|
-
# a complete line is available.
|
17
|
-
|
18
|
-
# behaviour depends on self.writeQueueing
|
19
|
-
|
20
|
-
# This module is thread safe - output can originate from any thread. If any thread
|
21
|
-
# other than the main thread attempts to print, it is always queued until next idle time
|
22
|
-
|
23
|
-
import queue
|
24
|
-
import re
|
25
|
-
|
26
|
-
import pywin.scintilla.document
|
27
|
-
import win32api
|
28
|
-
import win32con
|
29
|
-
import win32ui
|
30
|
-
from pywin.framework import app, window
|
31
|
-
from pywin.mfc import docview
|
32
|
-
from pywin.scintilla import scintillacon
|
33
|
-
|
34
|
-
debug = lambda msg: None
|
35
|
-
# debug=win32ui.OutputDebugString
|
36
|
-
# import win32trace;win32trace.InitWrite() # for debugging - delete me!
|
37
|
-
# debug = win32trace.write
|
38
|
-
# WindowOutputDocumentParent=docview.RichEditDoc
|
39
|
-
# WindowOutputDocumentParent=docview.Document
|
40
|
-
WindowOutputDocumentParent = pywin.scintilla.document.CScintillaDocument
|
41
|
-
|
42
|
-
|
43
|
-
class flags:
|
44
|
-
# queueing of output.
|
45
|
-
WQ_NONE = 0
|
46
|
-
WQ_LINE = 1
|
47
|
-
WQ_IDLE = 2
|
48
|
-
|
49
|
-
|
50
|
-
class WindowOutputDocument(WindowOutputDocumentParent):
|
51
|
-
def SaveModified(self):
|
52
|
-
return 1 # say it is OK to destroy my document
|
53
|
-
|
54
|
-
def OnSaveDocument(self, fileName):
|
55
|
-
win32ui.SetStatusText("Saving file...", 1)
|
56
|
-
try:
|
57
|
-
self.SaveFile(fileName)
|
58
|
-
except OSError as details:
|
59
|
-
win32ui.MessageBox("Error - could not save file\r\n\r\n%s" % details)
|
60
|
-
return 0
|
61
|
-
win32ui.SetStatusText("Ready")
|
62
|
-
return 1
|
63
|
-
|
64
|
-
|
65
|
-
class WindowOutputFrame(window.MDIChildWnd):
|
66
|
-
def __init__(self, wnd=None):
|
67
|
-
window.MDIChildWnd.__init__(self, wnd)
|
68
|
-
self.HookMessage(self.OnSizeMove, win32con.WM_SIZE)
|
69
|
-
self.HookMessage(self.OnSizeMove, win32con.WM_MOVE)
|
70
|
-
|
71
|
-
def LoadFrame(self, idResource, style, wndParent, context):
|
72
|
-
self.template = context.template
|
73
|
-
return self._obj_.LoadFrame(idResource, style, wndParent, context)
|
74
|
-
|
75
|
-
def PreCreateWindow(self, cc):
|
76
|
-
cc = self._obj_.PreCreateWindow(cc)
|
77
|
-
if (
|
78
|
-
self.template.defSize
|
79
|
-
and self.template.defSize[0] != self.template.defSize[1]
|
80
|
-
):
|
81
|
-
rect = app.RectToCreateStructRect(self.template.defSize)
|
82
|
-
cc = cc[0], cc[1], cc[2], cc[3], rect, cc[5], cc[6], cc[7], cc[8]
|
83
|
-
return cc
|
84
|
-
|
85
|
-
def OnSizeMove(self, msg):
|
86
|
-
# so recreate maintains position.
|
87
|
-
# Need to map coordinates from the
|
88
|
-
# frame windows first child.
|
89
|
-
mdiClient = self.GetParent()
|
90
|
-
self.template.defSize = mdiClient.ScreenToClient(self.GetWindowRect())
|
91
|
-
|
92
|
-
def OnDestroy(self, message):
|
93
|
-
self.template.OnFrameDestroy(self)
|
94
|
-
return 1
|
95
|
-
|
96
|
-
|
97
|
-
class WindowOutputViewImpl:
|
98
|
-
def __init__(self):
|
99
|
-
self.patErrorMessage = re.compile(r'\W*File "(.*)", line ([0-9]+)')
|
100
|
-
self.template = self.GetDocument().GetDocTemplate()
|
101
|
-
|
102
|
-
def HookHandlers(self):
|
103
|
-
# Hook for the right-click menu.
|
104
|
-
self.HookMessage(self.OnRClick, win32con.WM_RBUTTONDOWN)
|
105
|
-
|
106
|
-
def OnDestroy(self, msg):
|
107
|
-
self.template.OnViewDestroy(self)
|
108
|
-
|
109
|
-
def OnInitialUpdate(self):
|
110
|
-
self.RestoreKillBuffer()
|
111
|
-
self.SetSel(-2) # end of buffer
|
112
|
-
|
113
|
-
def GetRightMenuItems(self):
|
114
|
-
ret = []
|
115
|
-
flags = win32con.MF_STRING | win32con.MF_ENABLED
|
116
|
-
ret.append((flags, win32ui.ID_EDIT_COPY, "&Copy"))
|
117
|
-
ret.append((flags, win32ui.ID_EDIT_SELECT_ALL, "&Select all"))
|
118
|
-
return ret
|
119
|
-
|
120
|
-
#
|
121
|
-
# Windows command handlers, virtuals, etc.
|
122
|
-
#
|
123
|
-
def OnRClick(self, params):
|
124
|
-
paramsList = self.GetRightMenuItems()
|
125
|
-
menu = win32ui.CreatePopupMenu()
|
126
|
-
for appendParams in paramsList:
|
127
|
-
if not isinstance(appendParams, tuple):
|
128
|
-
appendParams = (appendParams,)
|
129
|
-
menu.AppendMenu(*appendParams)
|
130
|
-
menu.TrackPopupMenu(params[5]) # track at mouse position.
|
131
|
-
return 0
|
132
|
-
|
133
|
-
# as this is often used as an output window, exeptions will often
|
134
|
-
# be printed. Therefore, we support this functionality at this level.
|
135
|
-
# Returns TRUE if the current line is an error message line, and will
|
136
|
-
# jump to it. FALSE if no error (and no action taken)
|
137
|
-
def HandleSpecialLine(self):
|
138
|
-
from . import scriptutils
|
139
|
-
|
140
|
-
line = self.GetLine()
|
141
|
-
if line[:11] == "com_error: ":
|
142
|
-
# An OLE Exception - pull apart the exception
|
143
|
-
# and try and locate a help file.
|
144
|
-
try:
|
145
|
-
import win32api
|
146
|
-
import win32con
|
147
|
-
|
148
|
-
det = eval(line[line.find(":") + 1 :].strip())
|
149
|
-
win32ui.SetStatusText("Opening help file on OLE error...")
|
150
|
-
from . import help
|
151
|
-
|
152
|
-
help.OpenHelpFile(det[2][3], win32con.HELP_CONTEXT, det[2][4])
|
153
|
-
return 1
|
154
|
-
except win32api.error as details:
|
155
|
-
win32ui.SetStatusText(
|
156
|
-
"The help file could not be opened - %s" % details.strerror
|
157
|
-
)
|
158
|
-
return 1
|
159
|
-
except:
|
160
|
-
win32ui.SetStatusText(
|
161
|
-
"Line is a COM error, but no WinHelp details can be parsed"
|
162
|
-
)
|
163
|
-
# Look for a Python traceback.
|
164
|
-
matchResult = self.patErrorMessage.match(line)
|
165
|
-
if matchResult is None:
|
166
|
-
# No match - try the previous line
|
167
|
-
lineNo = self.LineFromChar()
|
168
|
-
if lineNo > 0:
|
169
|
-
line = self.GetLine(lineNo - 1)
|
170
|
-
matchResult = self.patErrorMessage.match(line)
|
171
|
-
if matchResult is not None:
|
172
|
-
# we have an error line.
|
173
|
-
fileName = matchResult.group(1)
|
174
|
-
if fileName[0] == "<":
|
175
|
-
win32ui.SetStatusText("Can not load this file")
|
176
|
-
return 1 # still was an error message.
|
177
|
-
else:
|
178
|
-
lineNoString = matchResult.group(2)
|
179
|
-
# Attempt to locate the file (in case it is a relative spec)
|
180
|
-
fileNameSpec = fileName
|
181
|
-
fileName = scriptutils.LocatePythonFile(fileName)
|
182
|
-
if fileName is None:
|
183
|
-
# Don't force update, so it replaces the idle prompt.
|
184
|
-
win32ui.SetStatusText(
|
185
|
-
"Can't locate the file '%s'" % (fileNameSpec), 0
|
186
|
-
)
|
187
|
-
return 1
|
188
|
-
|
189
|
-
win32ui.SetStatusText(
|
190
|
-
"Jumping to line " + lineNoString + " of file " + fileName, 1
|
191
|
-
)
|
192
|
-
if not scriptutils.JumpToDocument(fileName, int(lineNoString)):
|
193
|
-
win32ui.SetStatusText("Could not open %s" % fileName)
|
194
|
-
return 1 # still was an error message.
|
195
|
-
return 1
|
196
|
-
return 0 # not an error line
|
197
|
-
|
198
|
-
def write(self, msg):
|
199
|
-
return self.template.write(msg)
|
200
|
-
|
201
|
-
def writelines(self, lines):
|
202
|
-
for line in lines:
|
203
|
-
self.write(line)
|
204
|
-
|
205
|
-
def flush(self):
|
206
|
-
self.template.flush()
|
207
|
-
|
208
|
-
|
209
|
-
class WindowOutputViewRTF(docview.RichEditView, WindowOutputViewImpl):
|
210
|
-
def __init__(self, doc):
|
211
|
-
docview.RichEditView.__init__(self, doc)
|
212
|
-
WindowOutputViewImpl.__init__(self)
|
213
|
-
|
214
|
-
def OnInitialUpdate(self):
|
215
|
-
WindowOutputViewImpl.OnInitialUpdate(self)
|
216
|
-
return docview.RichEditView.OnInitialUpdate(self)
|
217
|
-
|
218
|
-
def OnDestroy(self, msg):
|
219
|
-
WindowOutputViewImpl.OnDestroy(self, msg)
|
220
|
-
docview.RichEditView.OnDestroy(self, msg)
|
221
|
-
|
222
|
-
def HookHandlers(self):
|
223
|
-
WindowOutputViewImpl.HookHandlers(self)
|
224
|
-
# Hook for finding and locating error messages
|
225
|
-
self.HookMessage(self.OnLDoubleClick, win32con.WM_LBUTTONDBLCLK)
|
226
|
-
|
227
|
-
# docview.RichEditView.HookHandlers(self)
|
228
|
-
|
229
|
-
def OnLDoubleClick(self, params):
|
230
|
-
if self.HandleSpecialLine():
|
231
|
-
return 0 # don't pass on
|
232
|
-
return 1 # pass it on by default.
|
233
|
-
|
234
|
-
def RestoreKillBuffer(self):
|
235
|
-
if len(self.template.killBuffer):
|
236
|
-
self.StreamIn(win32con.SF_RTF, self._StreamRTFIn)
|
237
|
-
self.template.killBuffer = []
|
238
|
-
|
239
|
-
def SaveKillBuffer(self):
|
240
|
-
self.StreamOut(win32con.SF_RTFNOOBJS, self._StreamRTFOut)
|
241
|
-
|
242
|
-
def _StreamRTFOut(self, data):
|
243
|
-
self.template.killBuffer.append(data)
|
244
|
-
return 1 # keep em coming!
|
245
|
-
|
246
|
-
def _StreamRTFIn(self, bytes):
|
247
|
-
try:
|
248
|
-
item = self.template.killBuffer[0]
|
249
|
-
self.template.killBuffer.remove(item)
|
250
|
-
if bytes < len(item):
|
251
|
-
print("Warning - output buffer not big enough!")
|
252
|
-
return item
|
253
|
-
except IndexError:
|
254
|
-
return None
|
255
|
-
|
256
|
-
def dowrite(self, str):
|
257
|
-
self.SetSel(-2)
|
258
|
-
self.ReplaceSel(str)
|
259
|
-
|
260
|
-
|
261
|
-
import pywin.scintilla.view
|
262
|
-
|
263
|
-
|
264
|
-
class WindowOutputViewScintilla(
|
265
|
-
pywin.scintilla.view.CScintillaView, WindowOutputViewImpl
|
266
|
-
):
|
267
|
-
def __init__(self, doc):
|
268
|
-
pywin.scintilla.view.CScintillaView.__init__(self, doc)
|
269
|
-
WindowOutputViewImpl.__init__(self)
|
270
|
-
|
271
|
-
def OnInitialUpdate(self):
|
272
|
-
pywin.scintilla.view.CScintillaView.OnInitialUpdate(self)
|
273
|
-
self.SCISetMarginWidth(3)
|
274
|
-
WindowOutputViewImpl.OnInitialUpdate(self)
|
275
|
-
|
276
|
-
def OnDestroy(self, msg):
|
277
|
-
WindowOutputViewImpl.OnDestroy(self, msg)
|
278
|
-
pywin.scintilla.view.CScintillaView.OnDestroy(self, msg)
|
279
|
-
|
280
|
-
def HookHandlers(self):
|
281
|
-
WindowOutputViewImpl.HookHandlers(self)
|
282
|
-
pywin.scintilla.view.CScintillaView.HookHandlers(self)
|
283
|
-
self.GetParent().HookNotify(
|
284
|
-
self.OnScintillaDoubleClick, scintillacon.SCN_DOUBLECLICK
|
285
|
-
)
|
286
|
-
|
287
|
-
## self.HookMessage(self.OnLDoubleClick,win32con.WM_LBUTTONDBLCLK)
|
288
|
-
|
289
|
-
def OnScintillaDoubleClick(self, std, extra):
|
290
|
-
self.HandleSpecialLine()
|
291
|
-
|
292
|
-
## def OnLDoubleClick(self,params):
|
293
|
-
## return 0 # never don't pass on
|
294
|
-
|
295
|
-
def RestoreKillBuffer(self):
|
296
|
-
assert len(self.template.killBuffer) in (0, 1), "Unexpected killbuffer contents"
|
297
|
-
if self.template.killBuffer:
|
298
|
-
self.SCIAddText(self.template.killBuffer[0])
|
299
|
-
self.template.killBuffer = []
|
300
|
-
|
301
|
-
def SaveKillBuffer(self):
|
302
|
-
self.template.killBuffer = [self.GetTextRange(0, -1)]
|
303
|
-
|
304
|
-
def dowrite(self, str):
|
305
|
-
end = self.GetTextLength()
|
306
|
-
atEnd = end == self.GetSel()[0]
|
307
|
-
self.SCIInsertText(str, end)
|
308
|
-
if atEnd:
|
309
|
-
self.SetSel(self.GetTextLength())
|
310
|
-
|
311
|
-
def SetWordWrap(self, bWrapOn=1):
|
312
|
-
if bWrapOn:
|
313
|
-
wrap_mode = scintillacon.SC_WRAP_WORD
|
314
|
-
else:
|
315
|
-
wrap_mode = scintillacon.SC_WRAP_NONE
|
316
|
-
self.SCISetWrapMode(wrap_mode)
|
317
|
-
|
318
|
-
def _MakeColorizer(self):
|
319
|
-
return None # No colorizer for me!
|
320
|
-
|
321
|
-
|
322
|
-
WindowOutputView = WindowOutputViewScintilla
|
323
|
-
|
324
|
-
|
325
|
-
# The WindowOutput class is actually an MFC template. This is a conventient way of
|
326
|
-
# making sure that my state can exist beyond the life of the windows themselves.
|
327
|
-
# This is primarily to support the functionality of a WindowOutput window automatically
|
328
|
-
# being recreated if necessary when written to.
|
329
|
-
class WindowOutput(docview.DocTemplate):
|
330
|
-
"""Looks like a general Output Window - text can be written by the 'write' method.
|
331
|
-
Will auto-create itself on first write, and also on next write after being closed"""
|
332
|
-
|
333
|
-
softspace = 1
|
334
|
-
|
335
|
-
def __init__(
|
336
|
-
self,
|
337
|
-
title=None,
|
338
|
-
defSize=None,
|
339
|
-
queueing=flags.WQ_LINE,
|
340
|
-
bAutoRestore=1,
|
341
|
-
style=None,
|
342
|
-
makeDoc=None,
|
343
|
-
makeFrame=None,
|
344
|
-
makeView=None,
|
345
|
-
):
|
346
|
-
"""init the output window -
|
347
|
-
Params
|
348
|
-
title=None -- What is the title of the window
|
349
|
-
defSize=None -- What is the default size for the window - if this
|
350
|
-
is a string, the size will be loaded from the ini file.
|
351
|
-
queueing = flags.WQ_LINE -- When should output be written
|
352
|
-
bAutoRestore=1 -- Should a minimized window be restored.
|
353
|
-
style -- Style for Window, or None for default.
|
354
|
-
makeDoc, makeFrame, makeView -- Classes for frame, view and window respectively.
|
355
|
-
"""
|
356
|
-
if makeDoc is None:
|
357
|
-
makeDoc = WindowOutputDocument
|
358
|
-
if makeFrame is None:
|
359
|
-
makeFrame = WindowOutputFrame
|
360
|
-
if makeView is None:
|
361
|
-
makeView = WindowOutputViewScintilla
|
362
|
-
docview.DocTemplate.__init__(
|
363
|
-
self, win32ui.IDR_PYTHONTYPE, makeDoc, makeFrame, makeView
|
364
|
-
)
|
365
|
-
self.SetDocStrings("\nOutput\n\nText Documents (*.txt)\n.txt\n\n\n")
|
366
|
-
win32ui.GetApp().AddDocTemplate(self)
|
367
|
-
self.writeQueueing = queueing
|
368
|
-
self.errorCantRecreate = 0
|
369
|
-
self.killBuffer = []
|
370
|
-
self.style = style
|
371
|
-
self.bAutoRestore = bAutoRestore
|
372
|
-
self.title = title
|
373
|
-
self.bCreating = 0
|
374
|
-
self.interruptCount = 0
|
375
|
-
if isinstance(defSize, str): # maintain size pos from ini file.
|
376
|
-
self.iniSizeSection = defSize
|
377
|
-
self.defSize = app.LoadWindowSize(defSize)
|
378
|
-
self.loadedSize = self.defSize
|
379
|
-
else:
|
380
|
-
self.iniSizeSection = None
|
381
|
-
self.defSize = defSize
|
382
|
-
self.currentView = None
|
383
|
-
self.outputQueue = queue.Queue(-1)
|
384
|
-
self.mainThreadId = win32api.GetCurrentThreadId()
|
385
|
-
self.idleHandlerSet = 0
|
386
|
-
self.SetIdleHandler()
|
387
|
-
|
388
|
-
def __del__(self):
|
389
|
-
self.Close()
|
390
|
-
|
391
|
-
def Create(self, title=None, style=None):
|
392
|
-
self.bCreating = 1
|
393
|
-
if title:
|
394
|
-
self.title = title
|
395
|
-
if style:
|
396
|
-
self.style = style
|
397
|
-
doc = self.OpenDocumentFile()
|
398
|
-
if doc is None:
|
399
|
-
return
|
400
|
-
self.currentView = doc.GetFirstView()
|
401
|
-
self.bCreating = 0
|
402
|
-
if self.title:
|
403
|
-
doc.SetTitle(self.title)
|
404
|
-
|
405
|
-
def Close(self):
|
406
|
-
self.RemoveIdleHandler()
|
407
|
-
try:
|
408
|
-
parent = self.currentView.GetParent()
|
409
|
-
except (AttributeError, win32ui.error): # Already closed
|
410
|
-
return
|
411
|
-
parent.DestroyWindow()
|
412
|
-
|
413
|
-
def SetTitle(self, title):
|
414
|
-
self.title = title
|
415
|
-
if self.currentView:
|
416
|
-
self.currentView.GetDocument().SetTitle(self.title)
|
417
|
-
|
418
|
-
def OnViewDestroy(self, view):
|
419
|
-
self.currentView.SaveKillBuffer()
|
420
|
-
self.currentView = None
|
421
|
-
|
422
|
-
def OnFrameDestroy(self, frame):
|
423
|
-
if self.iniSizeSection:
|
424
|
-
# use GetWindowPlacement(), as it works even when min'd or max'd
|
425
|
-
newSize = frame.GetWindowPlacement()[4]
|
426
|
-
if self.loadedSize != newSize:
|
427
|
-
app.SaveWindowSize(self.iniSizeSection, newSize)
|
428
|
-
|
429
|
-
def SetIdleHandler(self):
|
430
|
-
if not self.idleHandlerSet:
|
431
|
-
debug("Idle handler set\n")
|
432
|
-
win32ui.GetApp().AddIdleHandler(self.QueueIdleHandler)
|
433
|
-
self.idleHandlerSet = 1
|
434
|
-
|
435
|
-
def RemoveIdleHandler(self):
|
436
|
-
if self.idleHandlerSet:
|
437
|
-
debug("Idle handler reset\n")
|
438
|
-
if win32ui.GetApp().DeleteIdleHandler(self.QueueIdleHandler) == 0:
|
439
|
-
debug("Error deleting idle handler\n")
|
440
|
-
self.idleHandlerSet = 0
|
441
|
-
|
442
|
-
def RecreateWindow(self):
|
443
|
-
if self.errorCantRecreate:
|
444
|
-
debug("Error = not trying again")
|
445
|
-
return 0
|
446
|
-
try:
|
447
|
-
# This will fail if app shutting down
|
448
|
-
win32ui.GetMainFrame().GetSafeHwnd()
|
449
|
-
self.Create()
|
450
|
-
return 1
|
451
|
-
except (win32ui.error, AttributeError):
|
452
|
-
self.errorCantRecreate = 1
|
453
|
-
debug("Winout can not recreate the Window!\n")
|
454
|
-
return 0
|
455
|
-
|
456
|
-
# this handles the idle message, and does the printing.
|
457
|
-
def QueueIdleHandler(self, handler, count):
|
458
|
-
try:
|
459
|
-
bEmpty = self.QueueFlush(20)
|
460
|
-
# If the queue is empty, then we are back to idle and restart interrupt logic.
|
461
|
-
if bEmpty:
|
462
|
-
self.interruptCount = 0
|
463
|
-
except KeyboardInterrupt:
|
464
|
-
# First interrupt since idle we just pass on.
|
465
|
-
# later ones we dump the queue and give up.
|
466
|
-
self.interruptCount += 1
|
467
|
-
if self.interruptCount > 1:
|
468
|
-
# Drop the queue quickly as the user is already annoyed :-)
|
469
|
-
self.outputQueue = queue.Queue(-1)
|
470
|
-
print("Interrupted.")
|
471
|
-
bEmpty = 1
|
472
|
-
else:
|
473
|
-
raise # re-raise the error so the users exception filters up.
|
474
|
-
return not bEmpty # More to do if not empty.
|
475
|
-
|
476
|
-
# Returns true if the Window needs to be recreated.
|
477
|
-
def NeedRecreateWindow(self):
|
478
|
-
try:
|
479
|
-
if self.currentView is not None and self.currentView.IsWindow():
|
480
|
-
return 0
|
481
|
-
except (
|
482
|
-
win32ui.error,
|
483
|
-
AttributeError,
|
484
|
-
): # Attribute error if the win32ui object has died.
|
485
|
-
pass
|
486
|
-
return 1
|
487
|
-
|
488
|
-
# Returns true if the Window is OK (either cos it was, or because it was recreated
|
489
|
-
def CheckRecreateWindow(self):
|
490
|
-
if self.bCreating:
|
491
|
-
return 1
|
492
|
-
if not self.NeedRecreateWindow():
|
493
|
-
return 1
|
494
|
-
if self.bAutoRestore:
|
495
|
-
if self.RecreateWindow():
|
496
|
-
return 1
|
497
|
-
return 0
|
498
|
-
|
499
|
-
def QueueFlush(self, max=None):
|
500
|
-
# Returns true if the queue is empty after the flush
|
501
|
-
# debug("Queueflush - %d, %d\n" % (max, self.outputQueue.qsize()))
|
502
|
-
if self.bCreating:
|
503
|
-
return 1
|
504
|
-
items = []
|
505
|
-
rc = 0
|
506
|
-
while max is None or max > 0:
|
507
|
-
try:
|
508
|
-
item = self.outputQueue.get_nowait()
|
509
|
-
items.append(item)
|
510
|
-
except queue.Empty:
|
511
|
-
rc = 1
|
512
|
-
break
|
513
|
-
if max is not None:
|
514
|
-
max -= 1
|
515
|
-
if len(items) != 0:
|
516
|
-
if not self.CheckRecreateWindow():
|
517
|
-
debug(":Recreate failed!\n")
|
518
|
-
return 1 # In trouble - so say we have nothing to do.
|
519
|
-
win32ui.PumpWaitingMessages() # Pump paint messages
|
520
|
-
self.currentView.dowrite("".join(items))
|
521
|
-
return rc
|
522
|
-
|
523
|
-
def HandleOutput(self, message):
|
524
|
-
# debug("QueueOutput on thread %d, flags %d with '%s'...\n" % (win32api.GetCurrentThreadId(), self.writeQueueing, message ))
|
525
|
-
self.outputQueue.put(message)
|
526
|
-
if win32api.GetCurrentThreadId() != self.mainThreadId:
|
527
|
-
pass
|
528
|
-
# debug("not my thread - ignoring queue options!\n")
|
529
|
-
elif self.writeQueueing == flags.WQ_LINE:
|
530
|
-
pos = message.rfind("\n")
|
531
|
-
if pos >= 0:
|
532
|
-
# debug("Line queueing - forcing flush\n")
|
533
|
-
self.QueueFlush()
|
534
|
-
return
|
535
|
-
elif self.writeQueueing == flags.WQ_NONE:
|
536
|
-
# debug("WQ_NONE - flushing!\n")
|
537
|
-
self.QueueFlush()
|
538
|
-
return
|
539
|
-
# Let our idle handler get it - wake it up
|
540
|
-
try:
|
541
|
-
win32ui.GetMainFrame().PostMessage(
|
542
|
-
win32con.WM_USER
|
543
|
-
) # Kick main thread off.
|
544
|
-
except win32ui.error:
|
545
|
-
# This can happen as the app is shutting down, so we send it to the C++ debugger
|
546
|
-
win32api.OutputDebugString(message)
|
547
|
-
|
548
|
-
# delegate certain fns to my view.
|
549
|
-
def writelines(self, lines):
|
550
|
-
for line in lines:
|
551
|
-
self.write(line)
|
552
|
-
|
553
|
-
def write(self, message):
|
554
|
-
self.HandleOutput(message)
|
555
|
-
|
556
|
-
def flush(self):
|
557
|
-
self.QueueFlush()
|
558
|
-
|
559
|
-
def HandleSpecialLine(self):
|
560
|
-
self.currentView.HandleSpecialLine()
|
561
|
-
|
562
|
-
|
563
|
-
def RTFWindowOutput(*args, **kw):
|
564
|
-
kw["makeView"] = WindowOutputViewRTF
|
565
|
-
return WindowOutput(*args, **kw)
|
566
|
-
|
567
|
-
|
568
|
-
def thread_test(o):
|
569
|
-
for i in range(5):
|
570
|
-
o.write("Hi from thread %d\n" % (win32api.GetCurrentThreadId()))
|
571
|
-
win32api.Sleep(100)
|
572
|
-
|
573
|
-
|
574
|
-
def test():
|
575
|
-
w = WindowOutput(queueing=flags.WQ_IDLE)
|
576
|
-
w.write("First bit of text\n")
|
577
|
-
import _thread
|
578
|
-
|
579
|
-
for i in range(5):
|
580
|
-
w.write("Hello from the main thread\n")
|
581
|
-
_thread.start_new(thread_test, (w,))
|
582
|
-
for i in range(2):
|
583
|
-
w.write("Hello from the main thread\n")
|
584
|
-
win32api.Sleep(50)
|
585
|
-
return w
|
586
|
-
|
587
|
-
|
588
|
-
if __name__ == "__main__":
|
589
|
-
test()
|
@@ -1,95 +0,0 @@
|
|
1
|
-
import re
|
2
|
-
import string
|
3
|
-
|
4
|
-
###$ event <<expand-word>>
|
5
|
-
###$ win <Alt-slash>
|
6
|
-
###$ unix <Alt-slash>
|
7
|
-
|
8
|
-
|
9
|
-
class AutoExpand:
|
10
|
-
keydefs = {
|
11
|
-
"<<expand-word>>": ["<Alt-slash>"],
|
12
|
-
}
|
13
|
-
|
14
|
-
unix_keydefs = {
|
15
|
-
"<<expand-word>>": ["<Meta-slash>"],
|
16
|
-
}
|
17
|
-
|
18
|
-
menudefs = [
|
19
|
-
(
|
20
|
-
"edit",
|
21
|
-
[
|
22
|
-
("E_xpand word", "<<expand-word>>"),
|
23
|
-
],
|
24
|
-
),
|
25
|
-
]
|
26
|
-
|
27
|
-
wordchars = string.ascii_letters + string.digits + "_"
|
28
|
-
|
29
|
-
def __init__(self, editwin):
|
30
|
-
self.text = editwin.text
|
31
|
-
self.text.wordlist = None # XXX what is this?
|
32
|
-
self.state = None
|
33
|
-
|
34
|
-
def expand_word_event(self, event):
|
35
|
-
curinsert = self.text.index("insert")
|
36
|
-
curline = self.text.get("insert linestart", "insert lineend")
|
37
|
-
if not self.state:
|
38
|
-
words = self.getwords()
|
39
|
-
index = 0
|
40
|
-
else:
|
41
|
-
words, index, insert, line = self.state
|
42
|
-
if insert != curinsert or line != curline:
|
43
|
-
words = self.getwords()
|
44
|
-
index = 0
|
45
|
-
if not words:
|
46
|
-
self.text.bell()
|
47
|
-
return "break"
|
48
|
-
word = self.getprevword()
|
49
|
-
self.text.delete("insert - %d chars" % len(word), "insert")
|
50
|
-
newword = words[index]
|
51
|
-
index = (index + 1) % len(words)
|
52
|
-
if index == 0:
|
53
|
-
self.text.bell() # Warn we cycled around
|
54
|
-
self.text.insert("insert", newword)
|
55
|
-
curinsert = self.text.index("insert")
|
56
|
-
curline = self.text.get("insert linestart", "insert lineend")
|
57
|
-
self.state = words, index, curinsert, curline
|
58
|
-
return "break"
|
59
|
-
|
60
|
-
def getwords(self):
|
61
|
-
word = self.getprevword()
|
62
|
-
if not word:
|
63
|
-
return []
|
64
|
-
before = self.text.get("1.0", "insert wordstart")
|
65
|
-
wbefore = re.findall(r"\b" + word + r"\w+\b", before)
|
66
|
-
del before
|
67
|
-
after = self.text.get("insert wordend", "end")
|
68
|
-
wafter = re.findall(r"\b" + word + r"\w+\b", after)
|
69
|
-
del after
|
70
|
-
if not wbefore and not wafter:
|
71
|
-
return []
|
72
|
-
words = []
|
73
|
-
dict = {}
|
74
|
-
# search backwards through words before
|
75
|
-
wbefore.reverse()
|
76
|
-
for w in wbefore:
|
77
|
-
if dict.get(w):
|
78
|
-
continue
|
79
|
-
words.append(w)
|
80
|
-
dict[w] = w
|
81
|
-
# search onwards through words after
|
82
|
-
for w in wafter:
|
83
|
-
if dict.get(w):
|
84
|
-
continue
|
85
|
-
words.append(w)
|
86
|
-
dict[w] = w
|
87
|
-
words.append(word)
|
88
|
-
return words
|
89
|
-
|
90
|
-
def getprevword(self):
|
91
|
-
line = self.text.get("insert linestart", "insert")
|
92
|
-
i = len(line)
|
93
|
-
while i > 0 and line[i - 1] in self.wordchars:
|
94
|
-
i -= 1
|
95
|
-
return line[i:]
|