commit | bc33595cd6cbfbefaac9b2806d267a9dc02cc3df | [log] [tgz] |
---|---|---|
author | Matthew Whisenhunt <matt.whisenhunt@gmail.com> | Wed Apr 25 11:21:42 2018 -0700 |
committer | Matt Whisenhunt <matt.whisenhunt@gmail.com> | Wed Apr 25 11:43:24 2018 -0700 |
tree | 7804b95331a17d576721e74ae57d614616c96f18 | |
parent | bf0f27678b37e4ded3f6a14cfc5d3ff68bc5fd30 [diff] |
Describe reserved word methods with _ after name. eg import_()
diff --git a/googleapiclient/discovery.py b/googleapiclient/discovery.py index 5c86249..e8b3527 100644 --- a/googleapiclient/discovery.py +++ b/googleapiclient/discovery.py
@@ -138,7 +138,7 @@ name: string, method name. Returns: - The name with a '_' prefixed if the name is a reserved word. + The name with an '_' appended if the name is a reserved word. """ if keyword.iskeyword(name) or name in RESERVED_WORDS: return name + '_'