Skip to content

Commit da57c9f

Browse files
vneogi199mdrxy
authored andcommitted
fix(loader): fix TextLoader doc string indentation (#360)
On [TextLoader](https://python.langchain.com/api_reference/community/document_loaders/langchain_community.document_loaders.text.TextLoader.html) documentation: <img width="780" height="407" alt="image" src="https://github.com/user-attachments/assets/ed664ef4-d253-4768-acc2-d1ba1ea043c4" /> the text is mismatched due to incorrect indentation in docstring Co-authored-by: Mason Daugherty <[email protected]>
1 parent a984109 commit da57c9f

File tree

1 file changed

+1
-1
lines changed
  • libs/community/langchain_community/document_loaders

1 file changed

+1
-1
lines changed

libs/community/langchain_community/document_loaders/text.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class TextLoader(BaseLoader):
1818
file_path: Path to the file to load.
1919
2020
encoding: File encoding to use. If `None`, the file will be loaded
21-
with the default system encoding.
21+
with the default system encoding.
2222
2323
autodetect_encoding: Whether to try to autodetect the file encoding
2424
if the specified encoding fails.

0 commit comments

Comments
 (0)