Skip to content

Commit 8d48e2a

Browse files
changed nameing
1 parent 09cb121 commit 8d48e2a

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

things/api.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ def todos(uuid=None, **kwargs):
389389
"""
390390
Read to-dos into dicts.
391391
392-
See `api.tasks` for details.
392+
See `things.tasks` for details.
393393
"""
394394
return tasks(uuid=uuid, type="to-do", **kwargs)
395395

@@ -398,7 +398,7 @@ def projects(uuid=None, **kwargs):
398398
"""
399399
Read projects into dicts.
400400
401-
See `api.tasks` for details.
401+
See `things.tasks` for details.
402402
"""
403403
return tasks(uuid=uuid, type="project", **kwargs)
404404

@@ -410,7 +410,7 @@ def inbox(**kwargs):
410410
"""
411411
Read inbox into dicts.
412412
413-
See `api.tasks` for details.
413+
See `things.tasks` for details.
414414
"""
415415
return tasks(start="Inbox", **kwargs)
416416

@@ -450,27 +450,27 @@ def upcoming(**kwargs):
450450

451451
def anytime(**kwargs):
452452
"""
453-
Read anytime to-dos into dicts.
453+
Read anytime tasks into dicts.
454454
455-
See `api.tasks` for details.
455+
See `things.tasks` for details.
456456
"""
457457
return tasks(start="Anytime", **kwargs)
458458

459459

460460
def someday(**kwargs):
461461
"""
462-
Read someday to-dos into dicts.
462+
Read someday tasks into dicts.
463463
464-
See `api.tasks` for details.
464+
See `things.tasks` for details.
465465
"""
466466
return tasks(start_date=False, start="Someday", **kwargs)
467467

468468

469469
def logbook(**kwargs):
470470
"""
471-
Read logbook to-dos into dicts.
471+
Read logbook tasks into dicts.
472472
473-
See `api.tasks` for details.
473+
See `things.tasks` for details.
474474
"""
475475
result = [*canceled(**kwargs), *completed(**kwargs)]
476476
result.sort(key=lambda task: task["stop_date"], reverse=True)
@@ -482,9 +482,9 @@ def logbook(**kwargs):
482482

483483
def canceled(**kwargs):
484484
"""
485-
Read cancelled to-dos into dicts.
485+
Read cancelled tasks into dicts.
486486
487-
See `api.tasks` for details.
487+
See `things.tasks` for details.
488488
"""
489489
return tasks(status="canceled", **kwargs)
490490

@@ -503,9 +503,9 @@ def completed(**kwargs):
503503

504504
def deadlines(**kwargs):
505505
"""
506-
Read to-dos with due dates into dicts.
506+
Read tasks with deadlines into dicts.
507507
508-
See `api.tasks` for details.
508+
See `things.tasks` for details.
509509
"""
510510
result = tasks(deadline=True, **kwargs)
511511
result.sort(key=lambda task: task["deadline"])

0 commit comments

Comments
 (0)