Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Minor changes: docstring, indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
cheuberg committed Apr 7, 2014
1 parent f37a4d3 commit 1e310b0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/sage/combinat/finite_state_machine.py
Original file line number Diff line number Diff line change
Expand Up @@ -4994,7 +4994,7 @@ def cartesian_product(self, other, only_accessible_components=True):
binary expansion into the non-adjacent form and the automaton
recognizes the binary expansion without adjacent `1`'s, then the
cartesian product of these two is a transducer which does not change
the input (except for changing `a` to `(a, None)` and ignoring a
the input (except for changing ``a`` to ``(a, None)`` and ignoring a
leading `0`).
::
Expand Down Expand Up @@ -5033,9 +5033,9 @@ def cartesian_product(self, other, only_accessible_components=True):
if FSMOldCodeTransducerCartesianProduct:
from sage.misc.superseded import deprecation
deprecation(16061, "The output of Transducer.cartesian_product "
"will change. Please use "
"Transducer.intersection for the original "
"output.")
"will change. Please use "
"Transducer.intersection for the original "
"output.")
return self.intersection(
other,
only_accessible_components=only_accessible_components)
Expand Down

0 comments on commit 1e310b0

Please sign in to comment.