mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-24 07:35:18 +00:00
docs[community]: Fix raw string in docstring (#26350)
Fixes #26212: replaced the raw string with backslashes. Alternative: raw-stringif the full docstring. --------- Co-authored-by: Erick Friis <erickfriis@gmail.com>
This commit is contained in:
parent
8fb643a6e8
commit
85caaa773f
@ -227,7 +227,7 @@ class RecursiveUrlLoader(BaseLoader):
|
|||||||
"https://docs.python.org/3.9/",
|
"https://docs.python.org/3.9/",
|
||||||
prevent_outside=True,
|
prevent_outside=True,
|
||||||
base_url="https://docs.python.org",
|
base_url="https://docs.python.org",
|
||||||
link_regex=r'<a\s+(?:[^>]*?\s+)?href="([^"]*(?=index)[^"]*)"',
|
link_regex=r'<a\\s+(?:[^>]*?\\s+)?href="([^"]*(?=index)[^"]*)"',
|
||||||
exclude_dirs=['https://docs.python.org/3.9/faq']
|
exclude_dirs=['https://docs.python.org/3.9/faq']
|
||||||
)
|
)
|
||||||
docs = loader.load()
|
docs = loader.load()
|
||||||
|
Loading…
Reference in New Issue
Block a user