Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
fix one doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
xcaruso committed May 13, 2020
1 parent f225cbc commit b35e1d0
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/sage/categories/rings.py
Original file line number Diff line number Diff line change
Expand Up @@ -915,12 +915,17 @@ def __getitem__(self, arg):
sage: GF(17)['a']['b']
Univariate Polynomial Ring in b over Univariate Polynomial Ring in a over Finite Field of size 17
We can create skew polynomial rings::
We can create Ore polynomial rings::
sage: k.<t> = GF(5^3)
sage: Frob = k.frobenius_endomorphism()
sage: k['x',Frob]
Skew Polynomial Ring in x over Finite Field in t of size 5^3 twisted by t |--> t^5
sage: k['x', Frob]
Ore Polynomial Ring in x over Finite Field in t of size 5^3 twisted by t |--> t^5
sage: R.<t> = QQ[]
sage: der = R.derivation()
sage: R['d', der]
Ore Polynomial Ring in d over Univariate Polynomial Ring in t over Rational Field twisted by d/dt
We can also create power series rings by using double brackets::
Expand Down

0 comments on commit b35e1d0

Please sign in to comment.