mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-27 03:15:08 +00:00
docs: apply simplified technical english across docs and docstrings.
This commit is contained in:
@@ -166,7 +166,7 @@ class SQLite(Vault):
|
||||
cursor.close()
|
||||
|
||||
def has_table(self, name: str) -> bool:
|
||||
"""Check if the Vault has a Table with the specified name."""
|
||||
"""Return True if the Vault has a Table with the specified name."""
|
||||
conn = self.conn_factory.get()
|
||||
cursor = conn.cursor()
|
||||
|
||||
@@ -177,7 +177,7 @@ class SQLite(Vault):
|
||||
cursor.close()
|
||||
|
||||
def create_table(self, name: str):
|
||||
"""Create a Table with the specified name if not yet created."""
|
||||
"""Make a Table with the specified name if it does not exist yet."""
|
||||
if self.has_table(name):
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user