Skip to content

Commit 941311b

Browse files
committed
Remove output blocks and new lines between input blocks
1 parent 134d290 commit 941311b

File tree

4 files changed

+0
-25
lines changed

4 files changed

+0
-25
lines changed

src/sage/rings/finite_rings/element_base.pyx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,6 @@ cdef class FiniteRingElement(CommutativeRingElement):
154154
- ``byteorder`` -- str (default: ``"big"``); determines the byte order of
155155
``input_bytes``; can only be ``"big"`` or ``"little"``
156156
157-
OUTPUT:
158-
159-
- Bytes representing ``self``
160-
161157
EXAMPLES::
162158
163159
sage: F = GF(65537)
@@ -1122,10 +1118,6 @@ cdef class FinitePolyExtElement(FiniteRingElement):
11221118
- ``byteorder`` -- str (default: ``"big"``); determines the byte order of
11231119
the output; can only be ``"big"`` or ``"little"``
11241120
1125-
OUTPUT:
1126-
1127-
- Bytes representing ``self``
1128-
11291121
EXAMPLES::
11301122
11311123
sage: F.<z5> = GF(3^5)

src/sage/rings/finite_rings/finite_field_base.pyx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2126,14 +2126,9 @@ cdef class FiniteField(Field):
21262126
INPUT:
21272127
21282128
- ``input_bytes`` -- a bytes-like object or iterable producing bytes
2129-
21302129
- ``byteorder`` -- str (default: ``"big"``); determines the byte order of
21312130
``input_bytes``; can only be ``"big"`` or ``"little"``
21322131
2133-
OUTPUT:
2134-
2135-
- A field element represented by the ``input_bytes``
2136-
21372132
EXAMPLES::
21382133
21392134
sage: input_bytes = b"some_bytes"

src/sage/rings/integer.pyx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7173,17 +7173,11 @@ cdef class Integer(sage.structure.element.EuclideanDomainElement):
71737173
71747174
- ``length`` -- positive integer (default: ``1``); integer is represented in
71757175
``length`` bytes
7176-
71777176
- ``byteorder`` -- str (default: ``"big"``); determines the byte order of
71787177
the output; can only be ``"big"`` or ``"little"``
7179-
71807178
- ``is_signed`` -- boolean (default: ``False``); determines whether to use two's
71817179
compliment to represent the integer
71827180
7183-
OUTPUT:
7184-
7185-
- Bytes representing ``self``
7186-
71877181
.. TODO::
71887182
71897183
It should be possible to convert straight from the gmp type in cython.

src/sage/rings/integer_ring.pyx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1583,17 +1583,11 @@ cdef class IntegerRing_class(PrincipalIdealDomain):
15831583
INPUT:
15841584
15851585
- ``input_bytes`` -- a bytes-like object or iterable producing bytes
1586-
15871586
- ``byteorder`` -- str (default: ``"big"``); determines the byte order of
15881587
``input_bytes``; can only be ``"big"`` or ``"little"``
1589-
15901588
- ``is_signed`` -- boolean (default: ``False``); determines whether to use two's
15911589
compliment to represent the integer
15921590
1593-
OUTPUT:
1594-
1595-
- An integer represented by the ``input_bytes``
1596-
15971591
EXAMPLES::
15981592
15991593
sage: ZZ.from_bytes(b'\x00\x10', byteorder='big')

0 commit comments

Comments
 (0)