Skip to content

Generalize typing of numbers #1085

Closed
Closed
@vlipovac

Description

@vlipovac

The goal is to replace the usage of pp.numbers with numbers.Real using the standard lib numbers from Python.
The reason is to increase the coverage of precision types, see example below:

With
pp.numbers = Union[int, float]
we get
image

Metadata

Metadata

Assignees

Labels

styleTyping and style changes with no impact on computations

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions