mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Unittest - docstring clarification
* Clarify how the alias is supposed to work in case readers are not familiar with what __call__ does.
This commit is contained in:
parent
42cfda704f
commit
906ca1a4aa
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ class Task(object):
|
|||
return "{0} running from {1}>".format(txt[:-1], self.datadir)
|
||||
|
||||
def __call__(self, *args, **kwargs):
|
||||
"Alias to runSuccess"
|
||||
"aka t = Task() ; t() which is now an alias to t.runSuccess()"
|
||||
return self.runSuccess(*args, **kwargs)
|
||||
|
||||
def bind_taskd_server(self, taskd):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue