Skip to content

Commit bc33595

Browse files
Describe reserved word methods with _ after name. eg import_()
1 parent bf0f276 commit bc33595

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

googleapiclient/discovery.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def fix_method_name(name):
138138
name: string, method name.
139139
140140
Returns:
141-
The name with a '_' prefixed if the name is a reserved word.
141+
The name with an '_' appended if the name is a reserved word.
142142
"""
143143
if keyword.iskeyword(name) or name in RESERVED_WORDS:
144144
return name + '_'

0 commit comments

Comments
 (0)