def mode(self, axis, numeric_only):
pass<EOL>
Ensure sphinx directives don't affect checks for trailing periods.

Parameters
----------
axis : str
    Sentence ending in period, followed by single directive.

    .. versionchanged:: 0.1.2

numeric_only : bool
    Sentence ending in period, followed by multiple directives.

    .. versionadded:: 0.1.2
    .. deprecated:: 0.00.0
        A multiline description,
        which spans another line.