Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upIncorrect sentence structure in Documentation #6739
Comments
|
https://kivy.org/doc/stable/guide/events.html?highlight=scheduling%20repetitive%20event#scheduling-a-repetitive-event |
|
if "the api allows to execute every time x seconds pass" then probably the given example needs to change too. The correction I suggested was made out of the example mentioned in that section. I suggest an additional line at the end of that example : Here my_callback() will be called every time 1/30 seconds pass (i.e, 30 times per second) Edit: You can call a function or a method at specified intervals using schedule_interval(). Here is an example of calling a function named my_callback 30 times per second: |


I was reading the kivy documentation pdf (source: https://kivy.org/doc/stable/gettingstarted/) and i don't seem to qualify a line in section 9.2 Main loop as a valid sentence.
Section of Interest:
9.2.1 Scheduling a repetitive event
You can call a function or a method every X times per second using schedule_interval(). Here is
an example of calling a function named my_callback 30 times per second.
Description
"every X times per Second" is an incorrect structure.
Also, adjusting the word "every" elsewhere in the sentence doesn't match the function of schedule_interval().
Probable Correction:
9.2.1 Scheduling a repetitive event
You can call a function or a method X times per second using schedule_interval()
Please ignore if the line is intentional.
Thank You.