Ticket #9107: trac_9107_fix_cross_reference.patch

File trac_9107_fix_cross_reference.patch, 1.2 KB (added by SimonKing, 7 years ago)

Fix a cross reference in some functorial construction

  • sage/categories/algebras_with_basis.py

    # HG changeset patch
    # User Simon King <simon.king@uni-jena.de>
    # Date 1358629875 -3600
    # Node ID 05ebba10dfe1b8f2f93cdfe7a522986e0ae00a33
    # Parent  996f7c4324eb60ed5e7a8b3e6beb8b9634264a44
    #9107: Fix one cross reference in the documentation of a functorial construction
    
    diff --git a/sage/categories/algebras_with_basis.py b/sage/categories/algebras_with_basis.py
    a b  
    433433            return [self.base_category()]
    434434
    435435        class ParentMethods:
    436             @cached_method   # todo: reinstate once #5843 is fixed
     436            @cached_method
    437437            def one_from_cartesian_product_of_one_basis(self):
    438438                """
    439439                Returns the one of this cartesian product of algebras, as per ``Monoids.ParentMethods.one``
    440440
    441441                It is constructed as the cartesian product of the ones of the
    442                 summands, using their :meth:`.one_basis` methods.
     442                summands, using their :meth:`~AlgebrasWithBasis.ParentMethods.one_basis` methods.
    443443
    444444                This implementation does not require multiplication by
    445445                scalars nor calling cartesian_product. This might help keeping