Questions tagged [autoclass]
8 questions
8
votes
1 answer
What is AutoClass in .net?
I was reading Inside C#, and i am stumbled upon Type.IsAutoClass.
The documentation says
true if the string format attribute AutoClass is selected for the Type; otherwise, false.
The question is What is AutoClass and how due it impacts a…

Tilak
- 30,108
- 19
- 83
- 131
3
votes
0 answers
pyobjus nameerror: name 'build_ext' is not defined during installation
I'm trying to install pyobjus but I still geting error:
ERROR: Command errored out with exit status 1:
command: /root/anaconda3/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-lm35sz6r/pyobjus/setup.py'"'"';…

Trevor Philips
- 43
- 1
- 3
2
votes
2 answers
sphinx naming special-members
This is my first time using Sphinx and I have figured out a lot so far but there is one particular Warning I am getting that I can't figure out what it is telling me.
According to the documentation on…

boymeetscode
- 805
- 1
- 9
- 26
1
vote
0 answers
Is there any way to use substitutions to change the target of sphinx's autoclass function?
I'm documenting a method, and one of its parameters needs to be of a particular class. I therefore have the following code inside the method's docstring:
.. autoclass:: mymodule.classnumberone
:members:
:exclude-members: Schema
This…

Yerushalmi
- 53
- 4
1
vote
0 answers
Pyjnius autoclass method can't find any 'android.X' classes
I'm just trying to do a simple app to lock android screen, but using Python. For that I try Pyjnius.
When I try to get any class within 'android' package, like this:
DevicePolicyManager = autoclass('android.admin.DevicePolicyManager')
it just…

Alexandre Santos
- 21
- 5
0
votes
0 answers
jnius autoclass open LOCATION_SOURCE_SETTINGS for particular app does not work
i'm struggling with jnius autoclass to open location settings for my app (attached screen) and it does not work,
i have following error: jnius.jnius.JavaException: JVM exception occurred: No Activity found to handle Intent {…

Sebastian
- 11
- 3
0
votes
1 answer
python pyjnius; PythonActivity error I installed JDK+Visual C++
I installed JDK and Visual Studio. I can import other classes without any problem, but I keep getting errors while importing the PythonActivity class.
I am using javac 14.0.2 and C++
my codes:
import kivy
from kivy.app import App
from kivy.uix.label…

just a stranger
- 310
- 1
- 4
- 13
-1
votes
2 answers
Method which the return-type is the same autoclass?
I have a doubt. Be the following Java Class code:
public class myClass{
public myClass myMethod(){
...
}
...
}
1) How could myMethod return type be the auto-class? It is no logican sense for me.
2) What does it mean?
Thanks :)