Skip to content

Commit 00819f1

Browse files
committed
Renaming argument to not conflict with 'object' python builtin.
1 parent 9b210a6 commit 00819f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drive/activity-v2/quickstart.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ def truncated(array, limit=2):
4747
return u'[{0}{1}]'.format(contents, more)
4848

4949

50-
def getOneOf(object):
51-
for key in object:
50+
def getOneOf(obj):
51+
for key in obj:
5252
return key
5353
return 'unknown'
5454

0 commit comments

Comments
 (0)