diff options
author | Guy McSwain <guy.mcswain@gmail.com> | 2020-06-25 12:34:45 -0500 |
---|---|---|
committer | Guy McSwain <guy.mcswain@gmail.com> | 2020-06-27 07:25:45 -0500 |
commit | 1a98364f6f925edf43f7d8350fc261b735c865c6 (patch) | |
tree | b10b3796324d0cb68b7d9523ec39164f5114e98c | |
parent | 328e09a5b0cfa011f47a90ddc2095a9fb745bcc7 (diff) |
Fix issue #355, python module event_callback documentation.
-rw-r--r-- | pigpio.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5055,7 +5055,7 @@ class pi(): by calling the tally function. The count may be reset to zero by calling the reset_tally function. - The callback may be cancelled by calling the event_cancel function. + The callback may be canceled by calling the cancel function. An event may have multiple callbacks (although I can't think of a reason to do so). @@ -5072,7 +5072,7 @@ class pi(): cb2.reset_tally() - cb1.event_cancel() # To cancel callback cb1. + cb1.cancel() # To cancel callback cb1. ... """ |