parse_python_code
Parse a source string in order to obtain an astroid AST from it.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
code |
str
|
The code for the module. |
required |
module_name |
str
|
The name for the module, if any |
''
|
path |
str | None
|
The path for the module |
None
|
ast_builder |
AstroidBuilder
|
The Astroid builder to use |
None
|