How to detect if Python object is class/function/property
Aperta
- Lingua principale
- Julia
- Stelle
- 1.5k
- Fork
- 186
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Hello,
I have a couple PyObject's that return the following when printed to screen:
`PyObject `
`PyObject `
`PyObject `
Is there some property I can access that will tell me if a random PyObject is a class, function or property (besides parsing that string)? I'm trying to use metaprogramming to auto generate class/function signatures while ignoring properties. Thanks!
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.