mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-27 08:58:48 +00:00
Incorrect docstring for PythonCodeTextSplitter (#4296)
Fixes a copy-paste error in the doctring
This commit is contained in:
parent
f70e18a5b3
commit
a1001b29eb
@ -412,7 +412,7 @@ class PythonCodeTextSplitter(RecursiveCharacterTextSplitter):
|
||||
"""Attempts to split the text along Python syntax."""
|
||||
|
||||
def __init__(self, **kwargs: Any):
|
||||
"""Initialize a MarkdownTextSplitter."""
|
||||
"""Initialize a PythonCodeTextSplitter."""
|
||||
separators = [
|
||||
# First, try to split along class definitions
|
||||
"\nclass ",
|
||||
|
Loading…
Reference in New Issue
Block a user