mirror of https://github.com/kivy/kivy.git
Fix typo in switch_to documentation
`switch()` method doesn't exists. seems like it was a typo.
This commit is contained in:
parent
691357e1df
commit
2b2ebe1b6b
|
@ -936,7 +936,7 @@ class ScreenManager(FloatLayout):
|
|||
|
||||
If any animation is in progress, it will be stopped and replaced by
|
||||
this one: you should avoid this because the animation will just look
|
||||
weird. Use either :meth:`switch` or :attr:`current` but not both.
|
||||
weird. Use either :meth:`switch_to` or :attr:`current` but not both.
|
||||
|
||||
The `screen` name will be changed if there is any conflict with the
|
||||
current screen.
|
||||
|
|
Loading…
Reference in New Issue