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

Commit

Permalink
Transducer.cartesian_product: small correction in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
Sara Kropf committed Apr 9, 2014
1 parent 83b0341 commit 7633cac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/combinat/finite_state_machine.py
Original file line number Diff line number Diff line change
Expand Up @@ -4992,7 +4992,7 @@ def cartesian_product(self, other, only_accessible_components=True):
For example, if the transducer transforms the standard
binary expansion into the non-adjacent form and the automaton
recognizes the binary expansion without adjacent `1`'s, then the
recognizes the binary expansion without adjacent ones, 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
leading `0`).
Expand All @@ -5019,7 +5019,7 @@ def cartesian_product(self, other, only_accessible_components=True):
[(1, None), (0, None), (0, None), (1, None), (0, None), (1, None)]
This is obvious because if the standard binary expansion does not have
adjacent `1`'s, then it is the same as the non-adjacent form.
adjacent ones, then it is the same as the non-adjacent form.
Be aware that :meth:`.cartesian_product` is not commutative.
Expand Down

0 comments on commit 7633cac

Please sign in to comment.