# SNESPythonGetType
Get the type of a `SNES` object implemented in Python. 
## Synopsis
```
#include "petscsnes.h" 
PetscErrorCode SNESPythonGetType(SNES snes, const char *pyname[])
```
Not collective


## Input Parameter

- ***snes -*** the nonlinear solver (`SNES`) context.



## Output Parameter

- ***pyname -*** full dotted Python name [package].module[.{class|function}]





## See Also
 `SNESCreate()`, `SNESSetType()`, `SNESPYTHON`, `PetscPythonInitialize()`, `SNESPythonSetType()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/snes/impls/python/pythonsnes.c.html#SNESPythonGetType">src/snes/impls/python/pythonsnes.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/snes/impls/python/pythonsnes.c)


[Index of all SNES routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
