Skip to content

Commit

Permalink
Fix description for numerator/denominator/real instance attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
skirpichev committed Jan 23, 2023
1 parent 1519f80 commit 8e378bd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/mpz.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ mpz Methods
Return the conjugate of x (which is just a new reference to x since x
not a complex number).

**denominator(...)**
x.denominator() returns mpz(1).
**denominator**
x.denominator returns mpz(1).

**digits(...)**
x.digits([base=10]) returns a string representing *x* in radix *base*.
Expand Down Expand Up @@ -115,10 +115,10 @@ mpz Methods
a power of 2. For other bases, the result is usually correct but may
be 1 too large. *base* can range between 2 and 62, inclusive.

**numerator(...)**
x.numerator() returns a copy of *x*.
**numerator**
x.numerator returns a copy of *x*.

**real(...)**
**real**
x.real returns a copy of *x*.

mpz Functions
Expand Down

0 comments on commit 8e378bd

Please sign in to comment.