A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-June/080251.html below:

[Python-Dev] rest markup in ctypes docs

[Python-Dev] rest markup in ctypes docs [Python-Dev] rest markup in ctypes docsThomas Heller theller at ctypes.org
Wed Jun 11 20:40:23 CEST 2008
Thomas Heller schrieb:
> 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:
> 
Sorry, I meant this:

.. data:: 1
   :noindex:

   Specifies an input parameter to the function.


> 
> How can this be fixed?
> 


-- 
Thanks,
Thomas

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4