Skip to content

PolynomialRing's behaviour does not match docstring #3128

@sagetrac-broune

Description

@sagetrac-broune

The docstring for the function PolynomialRing states

    OUTPUT:
        PolynomialRing(base_ring, name, sparse=False) returns a univariate
        polynomial ring; all other input formats return a multivariate
        polynomial ring.

which is not what PolynomialRing actually does, since

sage: PolynomialRing(QQ, names=['x'])
Univariate Polynomial Ring in x over Rational Field

Either PolynomialRing has a bug or the docstring should be corrected.

Component: algebra

Author: Simon King

Reviewer: Martin Albrecht, Mike Hansen

Merged: sage-4.2.1.alpha0

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions