Update app.py

This commit is contained in:
qua-non 2013-09-06 08:15:42 +05:30
parent 7f145182e7
commit 41e8c045ca
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ Profiling with on_start and on_stop
It is often useful to profile python code in order to discover locations to It is often useful to profile python code in order to discover locations to
optimise. The standard library profilers optimise. The standard library profilers
(http://docs.python.org/2/library/profile.html) provide multiple options for (http://docs.python.org/2/library/profile.html) provide multiple options for
profiling code. Unfortunately, for profiling the entire program, the natural profiling code. For profiling the entire program, the natural
approaches of using profile as a module or profile's run method do not work approaches of using profile as a module or profile's run method do not work
with Kivy. It is however possible to use :meth:`App.on_start` and with Kivy. It is however possible to use :meth:`App.on_start` and
:meth:`App.on_stop` methods:: :meth:`App.on_stop` methods::