Skip to content

Commit 1a4a319

Browse files
committed
More forceful wording in FIXME
1 parent d67cf1d commit 1a4a319

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

mathics/builtin/fileformats/htmlformat.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ def eval(self, text: String, evaluation: Evaluation):
138138

139139
def eval_with_element(self, text, element, evaluation: Evaluation):
140140
"""%(name)s[text_String, element_]"""
141-
# FIXME?: right now we aren't using element. Things might be
142-
# more efficient if we used element?
141+
# FIXME: right now we aren't using element, and should use this to more
142+
# efficiently extract part of the XML file that we want.
143143
return self.eval(text, evaluation)
144144

145145

@@ -421,8 +421,8 @@ def source(filename):
421421

422422
def eval_with_element(self, text, element, evaluation: Evaluation):
423423
"""%(name)s[text_String, element_]"""
424-
# FIXME?: right now we aren't using element. Things might be
425-
# more efficient if we used element?
424+
# FIXME: right now we aren't using element, and should use this to more
425+
# efficiently extract part of the XML file that we want.
426426
return self.eval(text, evaluation)
427427

428428

@@ -470,6 +470,6 @@ def eval(self, text, evaluation: Evaluation):
470470

471471
def eval_with_element(self, text, element, evaluation: Evaluation):
472472
"""%(name)s[text_String, element_]"""
473-
# FIXME?: right now we aren't using element. Things might be
474-
# more efficient if we used element?
473+
# FIXME: right now we aren't using element, and should use this to more
474+
# efficiently extract part of the HTML file that we want.
475475
return self.eval(text, evaluation)

mathics/builtin/fileformats/xmlformat.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -347,8 +347,8 @@ def lines():
347347

348348
def eval_with_element(self, text, element, evaluation: Evaluation):
349349
"""%(name)s[text_String, element_]"""
350-
# FIXME?: right now we aren't using element. Things might be
351-
# more efficient if we used element?
350+
# FIXME: right now we aren't using element, and should use this to more
351+
# efficiently extract part of the XML file that we want.
352352
return self.eval(text, evaluation)
353353

354354

@@ -389,8 +389,8 @@ def eval(self, text, evaluation: Evaluation):
389389

390390
def eval_with_element(self, text, element, evaluation: Evaluation):
391391
"""%(name)s[text_String, element_]"""
392-
# FIXME?: right now we aren't using element. Things might be
393-
# more efficient if we used element?
392+
# FIXME: right now we aren't using element, and should use this to more
393+
# efficiently extract part of the XML file that we want.
394394
return self.eval(text, evaluation)
395395

396396

@@ -420,6 +420,6 @@ def eval(self, text, evaluation: Evaluation):
420420

421421
def eval_with_element(self, text, element, evaluation: Evaluation):
422422
"""%(name)s[text_String, element_]"""
423-
# FIXME?: right now we aren't using element. Things might be
424-
# more efficient if we used element?
423+
# FIXME: right now we aren't using element, and should use this to more
424+
# efficiently extract part of the XML file that we want.
425425
return self.eval(text, evaluation)

0 commit comments

Comments
 (0)