Skip to content

Commit

Permalink
Doctest also the parent of floor division
Browse files Browse the repository at this point in the history
  • Loading branch information
jdemeyer committed Jan 20, 2016
1 parent 227e8bb commit bca94fc
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/sage/rings/polynomial/polynomial_template.pxi
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
"""
Polynomial Template for C/C++ Library Interfaces
"""

#*****************************************************************************
# Copyright (C) 2008 Martin Albrecht <M.R.Albrecht@rhul.ac.uk>
# Copyright (C) 2008 Robert Bradshaw
#
# Distributed under the terms of the GNU General Public License (GPL)
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
# http://www.gnu.org/licenses/
#*****************************************************************************

Expand Down Expand Up @@ -425,6 +429,10 @@ cdef class Polynomial_template(Polynomial):
x
sage: 1 // x
0
sage: parent(x // 1)
Univariate Polynomial Ring in x over Finite Field of size 47
sage: parent(1 // x)
Univariate Polynomial Ring in x over Finite Field of size 47
"""
cdef Polynomial_template _right = <Polynomial_template>right

Expand Down

0 comments on commit bca94fc

Please sign in to comment.