# python.py

**Path:** `src/thedoc/parsers/python.py`

## Classes

### PythonParser

Parser for Python source code.

---

## Methods

### PythonParser.get_file_extensions

Get Python file extensions.

```python
get_file_extensions(self)
```

---

### PythonParser.parse_file

Parse a Python file and extract documentation.

```python
parse_file(self, file_path)
```

---

### PythonParser._parse_module

Parse an AST module node.

```python
_parse_module(self, tree, file_path)
```

---

### PythonParser._parse_class

Parse a class definition.

```python
_parse_class(self, node, file_path)
```

---

### PythonParser._parse_function

Parse a function definition.

```python
_parse_function(self, node, file_path, is_method)
```

---

## Modules

### python

Python-specific code parser.

---

