Skip to content

Use sage.rings.abc.RealField, sage.rings.abc.ComplexField more #32742

@mkoeppe

Description

@mkoeppe

As a follow-up on #32566 and #32610, we replace isinstance tests with RealField_class by the sage.rings.abc.RealField.

git grep -E 'isinstance.*(Real|Complex)Field_class' finds these uses.

Depends on #32665
Depends on #32758
Depends on #32635

CC: @tobiasdiez @tscrim @EnderWannabe @bhutz

Component: refactoring

Author: Matthias Koeppe

Branch/Commit: 29e784b

Reviewer: Travis Scrimshaw

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions