Skip to content

Commit

Permalink
Break long line.
Browse files Browse the repository at this point in the history
  • Loading branch information
daspecster committed Mar 24, 2017
1 parent ffcf3e9 commit 289c670
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/speech-usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ Great Britain.
>>> sample = client.sample(source_uri='gs://my-bucket/recording.flac',
... encoding=speech.Encoding.FLAC,
... sample_rate=44100)
>>> results = sample.sync_recognize(language_code='en-GB', max_alternatives=2)
>>> results = sample.sync_recognize(language_code='en-GB',
... max_alternatives=2)

This comment has been minimized.

Copy link
@dhermes

dhermes Mar 24, 2017

Contributor

Either

    >>> results = sample.sync_recognize(
    ...     language_code='en-GB',
    ...     max_alternatives=2)

or

    >>> results = sample.sync_recognize(
    ...     language_code='en-GB', max_alternatives=2)

or

    >>> results = sample.sync_recognize(language_code='en-GB',
    ...                                 max_alternatives=2)
>>> for result in results:
... for alternative in result.alternatives:
... print('=' * 20)
Expand Down

0 comments on commit 289c670

Please sign in to comment.