Skip to content

Commit 12a2173

Browse files
committed
src/sage/interfaces/maxima_abstract.py: drop "verbose" from _commands()
This parameter was recently made obsolete, and as this is an internal method, we can just delete it.
1 parent 94c3fb6 commit 12a2173

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/sage/interfaces/maxima_abstract.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -293,14 +293,10 @@ def completions(self, s, verbose=True):
293293
return [x for x in cmd_list if x.find(s) == 0]
294294

295295
@cached_method
296-
def _commands(self, verbose=True):
296+
def _commands(self):
297297
"""
298298
Return list of all commands defined in Maxima.
299299
300-
INPUT:
301-
302-
- ``verbose`` -- boolean; ignored (obsolete)
303-
304300
OUTPUT:
305301
306302
A list of strings.
@@ -385,7 +381,7 @@ def _tab_completion(self, verbose=True, use_disk_cache=True):
385381
print("\nBuilding Maxima command completion list (this takes")
386382
print("a few seconds only the first time you do it).")
387383
print("To force rebuild later, delete %s." % COMMANDS_CACHE)
388-
v = self._commands(verbose=verbose)
384+
v = self._commands()
389385
if verbose:
390386
print("\nDone!")
391387
self.__tab_completion = v

0 commit comments

Comments
 (0)