diff --git a/docs/source/com_interfaces.rst b/docs/source/com_interfaces.rst index 7e903106..af4907c9 100644 --- a/docs/source/com_interfaces.rst +++ b/docs/source/com_interfaces.rst @@ -92,7 +92,7 @@ The ``IUnknown`` as a Python class if ``Release`` is called at the aforementioned timing, it may raise an ``OSError``. - .. doctest:: + .. sourcecode:: pycon >>> from comtypes.client import CreateObject, GetModule >>> GetModule('UIAutomationCore.dll') # doctest: +ELLIPSIS