Skip to content

Commit b06f95c

Browse files
committed
Making a mess of git before morning coffee
1 parent 083b140 commit b06f95c

File tree

3 files changed

+0
-22
lines changed

3 files changed

+0
-22
lines changed

src/sage/rings/finite_rings/element_base.pyx

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -144,16 +144,10 @@ cdef class FiniteRingElement(CommutativeRingElement):
144144

145145
def to_bytes(self, byteorder="big"):
146146
"""
147-
<<<<<<< HEAD
148147
Return an array of bytes representing an integer.
149148
150149
Internally relies on the python ``int.to_bytes()`` method.
151150
Length of byte array is determined from the field's order.
152-
=======
153-
Return an array of bytes representing an integer. Internally relies
154-
on the Python ``int.to_bytes()`` method. The length of the byte array
155-
is fixed by the parent field's order.
156-
>>>>>>> 6d8b1dfaf02cbd4b09f692e7d2201379553b03c4
157151
158152
INPUT:
159153
@@ -1118,16 +1112,10 @@ cdef class FinitePolyExtElement(FiniteRingElement):
11181112

11191113
def to_bytes(self, byteorder="big"):
11201114
"""
1121-
<<<<<<< HEAD
11221115
Return an array of bytes representing an integer.
11231116
11241117
Internally relies on the python ``int.to_bytes()`` method.
11251118
Length of byte array is determined from the field's order.
1126-
=======
1127-
Return an array of bytes representing an integer. Internally relies
1128-
on the Python ``int.to_bytes()`` method. The length of the byte array
1129-
is fixed by the parent field's order.
1130-
>>>>>>> 6d8b1dfaf02cbd4b09f692e7d2201379553b03c4
11311119
11321120
INPUT:
11331121

src/sage/rings/finite_rings/finite_field_base.pyx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2119,14 +2119,9 @@ cdef class FiniteField(Field):
21192119

21202120
def from_bytes(self, input_bytes, byteorder="big"):
21212121
"""
2122-
<<<<<<< HEAD
21232122
Return the integer represented by the given array of bytes.
21242123
21252124
Internally relies on the python ``int.from_bytes()`` method.
2126-
=======
2127-
Return the integer represented by the given array of bytes. Internally relies
2128-
on the Python ``int.from_bytes()`` method.
2129-
>>>>>>> 6d8b1dfaf02cbd4b09f692e7d2201379553b03c4
21302125
21312126
INPUT:
21322127

src/sage/rings/integer.pyx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7165,14 +7165,9 @@ cdef class Integer(sage.structure.element.EuclideanDomainElement):
71657165

71667166
def to_bytes(self, length=1, byteorder="big", is_signed=False):
71677167
"""
7168-
<<<<<<< HEAD
71697168
Return an array of bytes representing an integer.
71707169
71717170
Internally relies on the python ``int.to_bytes()`` method.
7172-
=======
7173-
Return an array of bytes representing an integer. Internally relies
7174-
on the Python ``int.to_bytes()`` method.
7175-
>>>>>>> 6d8b1dfaf02cbd4b09f692e7d2201379553b03c4
71767171
71777172
INPUT:
71787173

0 commit comments

Comments
 (0)