Ticket #12383: 12383.patch

File 12383.patch, 766 bytes (added by roed, 10 years ago)
  • sage/categories/category.py

    # HG changeset patch
    # User David Roe <roed@math.harvard.edu>
    # Date 1327824104 28800
    # Node ID c5c07c3369e16c5826c4596d105738ddf565f4f0
    # Parent  f251923601a11f8c080d62e9906ae57065783f54
    Updates two docstrings to properly account for double underscores.
    
    diff --git a/sage/categories/category.py b/sage/categories/category.py
    a b  
    437437
    438438        EXAMPLES::
    439439
    440             sage: Rings().__repr_object_names
     440            sage: Rings()._Category__repr_object_names
    441441            'rings'
    442             sage: PrincipalIdealDomains().__repr_object_names
     442            sage: PrincipalIdealDomains()._Category__repr_object_names
    443443            'principal ideal domains'
    444444
    445445            sage: Rings()