From 2f0fe5af41cfa2b424f088d7d11dfa1ce660751e Mon Sep 17 00:00:00 2001 From: Alexander Taylor Date: Sun, 27 Jul 2014 19:02:12 +0100 Subject: [PATCH] doc: Improved pyjnius example code --- doc/sources/guide/android.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/sources/guide/android.rst b/doc/sources/guide/android.rst index cbb3c4d6b..46551041f 100644 --- a/doc/sources/guide/android.rst +++ b/doc/sources/guide/android.rst @@ -122,9 +122,9 @@ Here is a simple example showing pyjnius' ability to access the normal Android vibration API, the same result of the plyer code above:: - from jnius import PythonJavaClass, java_method, autoclass, cast - # 'autoclass' takes a java class and gives it a Python wrapper + from jnius import autoclass + # Context is a normal java class in the Android API Context = autoclass('android.content.Context')