Incorrect docstring for PythonCodeTextSplitter (#4296)

Fixes a copy-paste error in the doctring
parallel_dir_loader
Eugene Brodsky 1 year ago committed by GitHub
parent f70e18a5b3
commit a1001b29eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -412,7 +412,7 @@ class PythonCodeTextSplitter(RecursiveCharacterTextSplitter):
"""Attempts to split the text along Python syntax.""" """Attempts to split the text along Python syntax."""
def __init__(self, **kwargs: Any): def __init__(self, **kwargs: Any):
"""Initialize a MarkdownTextSplitter.""" """Initialize a PythonCodeTextSplitter."""
separators = [ separators = [
# First, try to split along class definitions # First, try to split along class definitions
"\nclass ", "\nclass ",

Loading…
Cancel
Save