diff --git a/src/sage/misc/abstract_method.py b/src/sage/misc/abstract_method.py index 99604777c08..720f7f5a7f0 100644 --- a/src/sage/misc/abstract_method.py +++ b/src/sage/misc/abstract_method.py @@ -182,7 +182,7 @@ def __repr__(self): return "<" + ("optional " if self._optional else "") + "abstract method %s at %s>" % (self.__name__, hex(id(self._f))) def _sage_src_lines_(self): - """ + r""" Returns the source code location for the wrapped function. EXAMPLES:: diff --git a/src/sage/misc/inline_fortran.py b/src/sage/misc/inline_fortran.py index d7ed02fe92b..6e71016c427 100644 --- a/src/sage/misc/inline_fortran.py +++ b/src/sage/misc/inline_fortran.py @@ -47,7 +47,7 @@ def _import_module_from_path(name, path=None): def _import_module_from_path_impl(name, path): - """Implement ``_import_module_from_path for Python 3.4+.""" + """Implement ``_import_module_from_path`` for Python 3.4+.""" # This is remarkably tricky to do right, considering that the new # importlib is supposed to make direct interaction with the import diff --git a/src/sage/misc/sageinspect.py b/src/sage/misc/sageinspect.py index 13f0fc1bec3..9add0610149 100644 --- a/src/sage/misc/sageinspect.py +++ b/src/sage/misc/sageinspect.py @@ -886,7 +886,7 @@ def visit_UnaryOp(self, node): def _grep_first_pair_of_parentheses(s): - """ + r""" Return the first matching pair of parentheses in a code string. INPUT: diff --git a/src/sage/misc/superseded.py b/src/sage/misc/superseded.py index eb2ff9c2b27..2bc69b0ffb8 100644 --- a/src/sage/misc/superseded.py +++ b/src/sage/misc/superseded.py @@ -383,7 +383,7 @@ def __init__(self, trac_number, func, module, instance=None, unbound=None): @lazy_attribute def __name__(self): - """ + r""" TESTS:: sage: from sage.misc.superseded import deprecated_function_alias diff --git a/src/sage/misc/viewer.py b/src/sage/misc/viewer.py index 9bdde290365..de84f31ddf4 100644 --- a/src/sage/misc/viewer.py +++ b/src/sage/misc/viewer.py @@ -161,7 +161,7 @@ def _set(self, app=None, TYPE='browser'): - ``app`` -- ``None`` or a string, the program to use - ``TYPE`` -- a string, must be in the list ``VIEWERS`` defined in - :module:`sage.misc.viewer`. Default 'browser'. + :mod:`sage.misc.viewer`. Default 'browser'. EXAMPLES::