File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -1916,8 +1916,8 @@ def __init__(self, ident, database, description = ()):
19161916
proctup['_proid'],
19171917
# ($1::type, $2::type, ... $n::type)
19181918
', '.join([
1919-
'$%d::%s' %(x + 1, database.typio.sql_type_from_oid(proargs[x]))
1920-
for x in range(len(proargs))
1919+
'$%d::%s' %(x, database.typio.sql_type_from_oid(proargs[x]))
1920+
for x in range(1, len(proargs)+1)
19211921
]),
19221922
# Description for anonymous record returns
19231923
(description and \

0 commit comments

Comments
 (0)