Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
Replace types string with str.
Browse files Browse the repository at this point in the history
Uses command:

    ag -l 'type ([^:]+): string' | \
        xargs gsed -r -i.bak -e 's/type ([^:]+): string/type \1: str/g'

Note: [-r for gsed (GNU sed) is needed for group
matching](http://superuser.com/a/336819/125262).
  • Loading branch information
tswast committed Oct 20, 2016
1 parent 2dad0e6 commit 75f3b2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google/cloud/vision/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class Connection(base_connection.JSONConnection):
:type http: :class:`httplib2.Http` or class that defines ``request()``.
:param http: (Optional) HTTP object to make requests.
:type api_base_url: string
:type api_base_url: str
:param api_base_url: The base of the API call URL. Defaults to the value
:attr:`Connection.API_BASE_URL`.
"""
Expand Down

0 comments on commit 75f3b2e

Please sign in to comment.