[New-bugs-announce] [issue1059] *args and **kwargs in function definitions

Lars Gustäbel report at bugs.python.org
Wed Aug 29 22:34:22 CEST 2007

New submission from Lars Gustäbel:

For example in tarfile.rst and logging.rst there are function
definitions using *args and/or **kwargs like:

.. function:: debug(msg[, *args[, **kwargs]])

The * and ** should be escaped IMO, so that they are not mistaken as
reStructuredText markup, which confuses the syntax coloring of my Vim.
While escaping * with a backslash works fine in normal text, it does not
work in a function definition and the backslash appears in the HTML output.

assignee: georg.brandl
components: Documentation
messages: 55434
nosy: lars.gustaebel
priority: low
severity: minor
status: open
title: *args and **kwargs in function definitions
versions: Python 2.6

Tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list