Skip to content

Commit adf9cde

Browse files
authored
docs: add proper code block formatting to the docs (#371)
1 parent d39ff32 commit adf9cde

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

googlemaps/places.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -477,13 +477,13 @@ def places_photo(client, photo_reference, max_width=None, max_height=None):
477477
:rtype: iterator containing the raw image data, which typically can be
478478
used to save an image file locally. For example:
479479
480-
```
480+
.. code-block:: python
481+
481482
f = open(local_filename, 'wb')
482483
for chunk in client.places_photo(photo_reference, max_width=100):
483484
if chunk:
484485
f.write(chunk)
485486
f.close()
486-
```
487487
"""
488488

489489
if not (max_width or max_height):

0 commit comments

Comments
 (0)