projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Implement __repr__ instead of __str__ for _NumericField
[babeltrace.git]
/
bindings
/
python
/
bt2
/
bt2
/
fields.py
diff --git
a/bindings/python/bt2/bt2/fields.py
b/bindings/python/bt2/bt2/fields.py
index e24bf5f27128984979b83e216ea15fafc357abdc..2e2796c901c127b8b60ad3287f18fc60db802948 100644
(file)
--- a/
bindings/python/bt2/bt2/fields.py
+++ b/
bindings/python/bt2/bt2/fields.py
@@
-110,8
+110,8
@@
class _NumericField(_Field):
def __float__(self):
return float(self._value)
- def __
st
r__(self):
- return
st
r(self._value)
+ def __
rep
r__(self):
+ return
rep
r(self._value)
def __lt__(self, other):
if not isinstance(other, numbers.Number):
This page took
0.024543 seconds
and
4
git commands to generate.