Skip to content

Enum type interpreted as function name #10052

@marxin

Description

@marxin

Describe the bug

In the following example:

.. function:: enum gimple_code gimple_code (gimple g)

  Return the code for statement ``G``.

There's a wrongly created a hyperlink to the function (after enum keyword):

Screenshot from 2022-01-03 13-30-09

How to Reproduce

Build the snippet.

Expected behavior

No response

Your project

Build the snippet

Screenshots

No response

OS

Linux

Python version

3.8

Sphinx version

4.3.1

Sphinx extensions

No response

Extra tools

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions