Skip to content

Commit acaa6cd

Browse files
author
James William Pye
committed
Clarify some doc strings.
1 parent 62a00be commit acaa6cd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

postgresql/string.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def split_ident(text, sep = ',', quote = '"', maxsplit = -1):
207207

208208
def split_qname(text, maxsplit = -1):
209209
"""
210-
Call to pg_str.split_ident() with a '.' sep parameter.
210+
Call to .split_ident() with a '.' sep parameter.
211211
"""
212212
return split_ident(text, maxsplit = maxsplit, sep = '.')
213213

@@ -218,7 +218,7 @@ def qname(*args):
218218
def split_sql(sql, sep = ';'):
219219
"""
220220
Given SQL, safely split using the given separator.
221-
Notably, this yields split text. This should be used instead of
221+
Notably, this yields fully split text. This should be used instead of
222222
split_sql_str() when quoted sections need be still be isolated.
223223
224224
>>> list(split_sql('select $$1$$ AS "foo;"; select 2;'))

0 commit comments

Comments
 (0)