Skip to content

Commit

Permalink
Add docstring replace to synth.py
Browse files Browse the repository at this point in the history
  • Loading branch information
busunkim96 committed Apr 9, 2019
1 parent a4258a3 commit e973660
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions translate/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@
"google.cloud.translate_v3beta1.proto",
)

s.replace(
"google/cloud/**/translation_service_pb2.py",
r"""record delimiters are ':raw-latex:`\\n`' instead of
':raw-latex:`\\r`:raw-latex:`\\n`'.""",
r"""record delimiters are ``\\\\\\\\n`` instead of
``\\\\\\\\r\\\\\\\\n``.""",)
# ----------------------------------------------------------------------------
# Add templated files
# ----------------------------------------------------------------------------
Expand Down

0 comments on commit e973660

Please sign in to comment.