Document autoclass syntax for nested Java classes.

This commit is contained in:
Ian Foote 2013-09-11 22:41:19 +01:00
parent af824144cc
commit 9ecf8b2263
1 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,5 @@
.. _api:
.. _api:
API API
=== ===
@ -169,6 +169,10 @@ Reflection functions
>>> autoclass('java.lang.System') >>> autoclass('java.lang.System')
<class 'jnius.java.lang.System'> <class 'jnius.java.lang.System'>
autoclass can also represent a nested Java class:
>>> autoclass('android.provider.Settings$Secure')
<class 'jnius.reflect.android.provider.Settings$Secure'>
Java class implementation in Python Java class implementation in Python
----------------------------------- -----------------------------------