From d34e5a8b36fb696fb4f07a4b264a83b1c1f32f27 Mon Sep 17 00:00:00 2001
From: Julien Bouquillon <julien.bouquillon@beta.gouv.fr>
Date: Fri, 23 Feb 2024 16:50:20 +0100
Subject: [PATCH] chore: fix doc comments (#11322)

* chore: fix doc comments

* Update base.py

* Update base.py
---
 .../llama_index/readers/file/markdown/base.py                 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/markdown/base.py b/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/markdown/base.py
index 228e749a4..e0e39e53d 100644
--- a/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/markdown/base.py
+++ b/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/markdown/base.py
@@ -71,12 +71,12 @@ class MarkdownReader(BaseReader):
         return markdown_tups
 
     def remove_images(self, content: str) -> str:
-        """Get a dictionary of a markdown file from its path."""
+        """Remove images in markdown content."""
         pattern = r"!{1}\[\[(.*)\]\]"
         return re.sub(pattern, "", content)
 
     def remove_hyperlinks(self, content: str) -> str:
-        """Get a dictionary of a markdown file from its path."""
+        """Remove hyperlinks in markdown content."""
         pattern = r"\[(.*?)\]\((.*?)\)"
         return re.sub(pattern, r"\1", content)
 
-- 
GitLab