From 40ca6e3965476c038b59bc4714e1030d87fbca0d Mon Sep 17 00:00:00 2001 From: Jun Komoda <45822440+junkmd@users.noreply.github.com> Date: Thu, 26 Dec 2024 12:08:33 +0000 Subject: [PATCH] Fix code block in `server.rst`. --- docs/source/server.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/server.rst b/docs/source/server.rst index 03d94993..40ee7256 100644 --- a/docs/source/server.rst +++ b/docs/source/server.rst @@ -87,8 +87,8 @@ are not in the type library. # generate wrapper code for the type library, this needs # to be done only once (but also each time the IDL file changes) GetModule('path\\to\\mytypelib.tlb') - from comtypes.gen.MyTypeLib import MyObject + class MyObjectImpl(MyObject): # registry entries _reg_threading_ = "Both"