Skip to content

Commit 5ae088d

Browse files
authored
docs: fix typo in thread safety example code (#1100)
1 parent d0110cf commit 5ae088d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/thread_safety.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ from googleapiclient import discovery
1717

1818
# Create a new Http() object for every request
1919
def build_request(http, *args, **kwargs):
20-
new_htpp = google_auth_httplib2.AuthorizedHttp(credentials, http=httplib2.Http())
20+
new_http = google_auth_httplib2.AuthorizedHttp(credentials, http=httplib2.Http())
2121
return googleapiclient.http.HttpRequest(new_http, *args, **kwargs)
2222
service = discovery.build('api_name', 'api_version', requestBuilder=build_request)
2323

0 commit comments

Comments
 (0)