This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients docs@python, eric.araujo, ezio.melotti, jdemeyer, mdk, steven.daprano, terry.reedy, willingc
Date 2019-05-16.15:25:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Doctest directives in code examples should be suppressed everywhere *except* in the doctest.html examples showing how to use directives.  The patch only exposes them for doctest.html and not for ctypes or anywhere else.

They really should not be in the dir example code that I linked to.
The problem there are the double comments with both a real comment and a directive. does not say anything about '::' causing suppression of comments and ':' leaving them.  It is misleading in implying the '::' is required for a code block.
Date User Action Args
2019-05-16 15:25:40terry.reedysetrecipients: + terry.reedy, ezio.melotti, eric.araujo, steven.daprano, docs@python, jdemeyer, willingc, mdk
2019-05-16 15:25:40terry.reedysetmessageid: <>
2019-05-16 15:25:40terry.reedylinkissue36675 messages
2019-05-16 15:25:40terry.reedycreate