Skip to content

Commit

Permalink
DOC: Update symbol parameter description.
Browse files Browse the repository at this point in the history
Match new definition and add versionadded.
  • Loading branch information
rossbar committed May 26, 2022
1 parent 38053ba commit e8b2d2c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions numpy/polynomial/_polybase.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ class ABCPolyBase(abc.ABC):
symbol : str, optional
Symbol used to represent the independent variable in string
representations of the polynomial expression, e.g. for printing.
The symbol must be a non-empty string where the first character is
non-numeric. Default value is 'x'.
The symbol must be a valid Python identifier. Default value is 'x'.
.. versionadded:: 1.24
Attributes
----------
Expand Down

0 comments on commit e8b2d2c

Please sign in to comment.