Skip to content

Commit c321be7

Browse files
authored
Update docs/source/quickstart.rst
1 parent 9e7afc5 commit c321be7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/source/quickstart.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ In order to correctly type your own code your should use
6565
from watchdog.observers import Observer
6666
from watchdog.observers.api import BaseObserver
6767

68-
def my_func(o: BaseObserver) -> None:
69-
# Do something with o
70-
return
68+
def my_func(obs: BaseObserver) -> None:
69+
# Do something with obs
70+
pass
7171

7272
observer: BaseObserver = Observer()
7373
my_func(observer)

0 commit comments

Comments
 (0)