Martin Panter added the comment: The O! and O& units are in a similar situation. They just use a different font and descriptive name, rather than a specific type:
``O!`` (object) [*typeobject*, PyObject \*] ``O&`` (object) [*converter*, *anything*] Following this lead, you could write: ``es`` (:class:`str`) [*encoding*, char \*buffer] ``et`` (. . .) [*encoding*, char \*buffer] ``es#`` (:class:`str`) [*encoding*, char \*buffer, int buffer_length] ``et#`` (. . .) [*encoding*, char \*buffer, int buffer_length] The text description should explain what *encoding* is, but it appears it may already do that well enough. ---------- nosy: +martin.panter _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23980> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com