Skip to content

doctest Python vs Sage ints #19029

@vbraun

Description

@vbraun

This patch changes how the display manager pretty-prints plain Python integers:

sage: 1
1
sage: int(2)
int(2)
sage: len(['a', 'b', 'c'])
int(3)
sage: Set(['a', 'b', 'c', 'd']).cardinality()
4

CC: @nathanncohen @jm58660

Component: user interface

Branch/Commit: u/vbraun/doctest_python_vs_sage_ints @ 129259d

Reviewer: Jeroen Demeyer, Volker Braun

Issue created by migration from https://trac.sagemath.org/ticket/19029

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions