patx/mongokv

Fix docstring formatting in remove method

Commit 3d26742 · patx · 2025-12-28T02:38:13-05:00

Changeset
3d26742e1079071afd8a9677bfbe51dff36bc5c7
Parents
9e23b7e1fc217a6ccb56d3a5c8ff941650e44a31

View source at this commit

Comments

No comments yet.

Log in to comment

Diff

diff --git a/mongokv.py b/mongokv.py
index ac3b0f6..7ba7088 100644
--- a/mongokv.py
+++ b/mongokv.py
@@ -80,8 +80,7 @@ class Mkv:
         return doc.get("value")
 
     def remove(self, key: str) -> bool:
-        """
-        Remove a key-value pair."""
+        """Remove a key-value pair."""
         if in_async():
             async def _aremove() -> bool:
                 result = await self.collection.delete_one({"_id": str(key)})