Skip to content

Commit

Permalink
Address a few sphinx warnings (#846)
Browse files Browse the repository at this point in the history
* CLN : Address a few sphinx warnings

Not sure if this is the right fix but this is a fix

	modified:   pyface/tasks/tasks_application.py
	modified:   pyface/timer/do_later.py

* Update pyface/timer/do_later.py

Co-authored-by: Kit Choi <[email protected]>

Co-authored-by: Kit Choi <[email protected]>
  • Loading branch information
Poruri Sai Rahul and kitchoi authored Dec 16, 2020
1 parent 98e191c commit 4a991af
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyface/tasks/tasks_application.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class TaskFactory(HasStrictTraits):

#: A callable with the following signature:
#:
#: callable(**traits) -> Task
#: callable(\**traits) -> Task
#:
#: Often this attribute will simply be a Task subclass.
factory = Callable
Expand Down
7 changes: 5 additions & 2 deletions pyface/timer/do_later.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def do_later(callable, *args, **kwargs):
----------
callable : callable
The callable to call in 50ms time.
*args, **kwargs : tuple, dict
*args, \**kwargs : tuple, dict
Arguments to be passed through to the callable.
"""
return CallbackTimer.single_shot(
Expand All @@ -55,7 +55,10 @@ def do_after(interval, callable, *args, **kwargs):
The time interval in milliseconds to wait before calling.
callable : callable
The callable to call.
*args, **kwargs : tuple, dict
\*args
Positional arguments to be passed through to the callable.
\*\*kwargs
Keyword arguments to be passed through to the callable.
Arguments to be passed through to the callable.
"""
return CallbackTimer.single_shot(
Expand Down

0 comments on commit 4a991af

Please sign in to comment.