langchain_community.document_loaders.parsers.language.python
.PythonSegmenter¶
- class langchain_community.document_loaders.parsers.language.python.PythonSegmenter(code: str)[source]¶
Code segmenter for Python.
Methods
__init__
(code)is_valid
()- Parameters
code (str) –