@@ -52,13 +52,13 @@ class _Transfer(object):
5252 :type stream: file-like object
5353 :param stream: stream to/from which data is downloaded/uploaded.
5454
55- :type close_stream: boolean
55+ :type close_stream: bool
5656 :param close_stream: should this instance close the stream when deleted
5757
5858 :type chunksize: integer
5959 :param chunksize: the size of chunks used to download/upload a file.
6060
61- :type auto_transfer: boolean
61+ :type auto_transfer: bool
6262 :param auto_transfer: should this instance automatically begin transfering
6363 data when initialized
6464
@@ -253,10 +253,10 @@ def from_file(cls, filename, overwrite=False, auto_transfer=True, **kwds):
253253 :type filename: str
254254 :param filename: path/filename for the target file
255255
256- :type overwrite: boolean
256+ :type overwrite: bool
257257 :param overwrite: should an existing file be overwritten
258258
259- :type auto_transfer: boolean
259+ :type auto_transfer: bool
260260 :param auto_transfer: should the transfer be started immediately
261261
262262 :type kwds: dict
@@ -283,7 +283,7 @@ def from_stream(cls, stream, auto_transfer=True, total_size=None, **kwds):
283283 :type total_size: integer or None
284284 :param total_size: total size of the file to be downloaded
285285
286- :type auto_transfer: boolean
286+ :type auto_transfer: bool
287287 :param auto_transfer: should the transfer be started immediately
288288
289289 :type kwds: dict
@@ -460,7 +460,7 @@ def _compute_end_byte(self, start, end=None, use_chunks=True):
460460 :type end: integer or None
461461 :param end: suggested last byte of the range.
462462
463- :type use_chunks: boolean
463+ :type use_chunks: bool
464464 :param use_chunks: If False, ignore :attr:`chunksize`.
465465
466466 :rtype: str
@@ -558,7 +558,7 @@ def get_range(self, start, end=None, use_chunks=True):
558558 :type end: integer or ``None``
559559 :param end: Where to stop fetching bytes. (See above.)
560560
561- :type use_chunks: boolean
561+ :type use_chunks: bool
562562 :param use_chunks: If False, ignore :attr:`chunksize`
563563 and fetch this range in a single request.
564564 If True, streams via chunks.
@@ -594,7 +594,7 @@ def stream_file(self, use_chunks=True):
594594
595595 Writes retrieved bytes into :attr:`stream`.
596596
597- :type use_chunks: boolean
597+ :type use_chunks: bool
598598 :param use_chunks: If False, ignore :attr:`chunksize`
599599 and stream this download in a single request.
600600 If True, streams via chunks.
@@ -631,10 +631,10 @@ class Upload(_Transfer):
631631 :type http: :class:`httplib2.Http` (or workalike)
632632 :param http: Http instance used to perform requests.
633633
634- :type close_stream: boolean
634+ :type close_stream: bool
635635 :param close_stream: should this instance close the stream when deleted
636636
637- :type auto_transfer: boolean
637+ :type auto_transfer: bool
638638 :param auto_transfer: should this instance automatically begin transfering
639639 data when initialized
640640
@@ -669,7 +669,7 @@ def from_file(cls, filename, mime_type=None, auto_transfer=True, **kwds):
669669 :type mime_type: str
670670 :param mime_type: MIMEtype of the file being uploaded
671671
672- :type auto_transfer: boolean or None
672+ :type auto_transfer: bool or None
673673 :param auto_transfer: should the transfer be started immediately
674674
675675 :type kwds: dict
@@ -703,7 +703,7 @@ def from_stream(cls, stream, mime_type,
703703 :type total_size: integer or None
704704 :param total_size: Size of the file being uploaded
705705
706- :type auto_transfer: boolean or None
706+ :type auto_transfer: bool or None
707707 :param auto_transfer: should the transfer be started immediately
708708
709709 :type kwds: dict
@@ -1065,7 +1065,7 @@ def _validate_chunksize(self, chunksize=None):
10651065 def stream_file (self , use_chunks = True ):
10661066 """Upload the stream.
10671067
1068- :type use_chunks: boolean
1068+ :type use_chunks: bool
10691069 :param use_chunks: If False, send the stream in a single request.
10701070 Otherwise, send it in chunks.
10711071
0 commit comments