Update docs/source/quickstart.rst

This commit is contained in:
Mathieu Virbel 2012-08-18 02:28:25 +03:00
parent 2aebb554a9
commit 3e6de4f7c9
1 changed files with 2 additions and 2 deletions

View File

@ -36,13 +36,13 @@ Automatic recursive inspection
Pyjnius uses Java reflection to give you a new autoclass() if the return type is
not a native type. Let's see this example::
System = autoclass('java.io.System')
System = autoclass('java.lang.System')
System.out.println('Hello World')
We only declared the first System class, but we are able to use all the static
fields and methods naturally. Let's go deeper::
>>> System = autoclass('java.io.System')
>>> System = autoclass('java.lang.System')
>>> System
<class 'jnius.reflect.java.lang.System'>
>>> System.out