[Python-Dev] rest markup in ctypes docs (original) (raw)
Thomas Heller theller at ctypes.org
Wed Jun 11 20:36:50 CEST 2008
- Previous message: [Python-Dev] PEP 8 and optional underscores
- Next message: [Python-Dev] rest markup in ctypes docs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
There are a few cases where the ctypes docs are rendered incorrectly:
http://docs.python.org/dev/library/ctypes.html#function-prototypes
This looks as if 'prototype' would be a symbol exposed by ctypes; it is not - it is used as a placeholder for the object returned by calls to the ctypes.CFUNCTYPE, ctypes.WINFUNCTYPE, and ctypes.PYFUNCTYPE functions above.
The rest markup is like this:
.. function:: prototype(address) :noindex:
Returns a foreign function at the specified address.
Some lines below, it looks like ctypes would export '1', '2', and '4'. Here is the markup:
.. function:: prototype(address) :noindex:
Returns a foreign function at the specified address.
How can this be fixed?
-- Thanks, Thomas
- Previous message: [Python-Dev] PEP 8 and optional underscores
- Next message: [Python-Dev] rest markup in ctypes docs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]