Sphinx consfuses numpydoc `set` type in docstring with set method #10659

Open
Carreau opened this Issue Jun 12, 2017 · 0 comments

Comments

Projects
None yet
1 participant
Owner

Carreau commented Jun 12, 2017

ipython/IPython/display.py:docstring of IPython.display.display:: WARNING: more than one target found for cross-reference 'set': IPython.core.interactiveshell.DisplayTrap.set, IPython.core.ultratb.DisplayTrap.set, IPython.testing.iptest.Event.set

Something like :

    Parameters
    ----------
    ...
    include : list, tuple or set, ...
        ...

get (for example, linked to IPython.core.interactiveshell.html#IPython.core.interactiveshell.DisplayTrap.set)

I'm going to guess it might be a fix in numpydoc to enforce set to be builtins. Unsure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment