Skip to content

Commit 8421e41

Browse files
authored
Fix: Remove extra quote in Sample docstrings (#348)
There's an extra quote at the end of docstrings, causing the docs to not be rendered correctly. They look like commented code. Removing the trailing \n" will fix the rendering.
1 parent 4820017 commit 8421e41

14 files changed

Lines changed: 14 additions & 14 deletions

classroom/snippets/classroom_all_submissions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def classroom_all_submissions(course_id, user_id):
2828
Creates the list of all submissions of the courses the user has access to.
2929
Load pre-authorized user credentials from the environment.
3030
TODO(developer) - See https://developers.google.com/identity
31-
for guides on implementing OAuth2 for the application.\n"
31+
for guides on implementing OAuth2 for the application.
3232
"""
3333

3434
creds, _ = google.auth.default()

classroom/snippets/classroom_create_coursework.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def classroom_create_coursework(course_id):
2828
Creates the coursework the user has access to.
2929
Load pre-authorized user credentials from the environment.
3030
TODO(developer) - See https://developers.google.com/identity
31-
for guides on implementing OAuth2 for the application.\n"
31+
for guides on implementing OAuth2 for the application.
3232
"""
3333

3434
creds, _ = google.auth.default()

classroom/snippets/classroom_invite_guardian.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def classroom_invite_guardian():
2828
Creates the courses the user has access to.
2929
Load pre-authorized user credentials from the environment.
3030
TODO(developer) - See https://developers.google.com/identity
31-
for guides on implementing OAuth2 for the application.\n"
31+
for guides on implementing OAuth2 for the application.
3232
"""
3333

3434
creds, _ = google.auth.default()

classroom/snippets/classroom_list_student_submissions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def classroom_list_student_submissions(course_id, coursework_id, user_id):
2727
Creates the courses the user has access to.
2828
Load pre-authorized user credentials from the environment.
2929
TODO(developer) - See https://developers.google.com/identity
30-
for guides on implementing OAuth2 for the application.\n"
30+
for guides on implementing OAuth2 for the application.
3131
"""
3232

3333
creds, _ = google.auth.default()

classroom/snippets/classroom_list_submissions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def classroom_list_submissions(course_id, coursework_id):
2727
Creates the courses the user has access to.
2828
Load pre-authorized user credentials from the environment.
2929
TODO(developer) - See https://developers.google.com/identity
30-
for guides on implementing OAuth2 for the application.\n"
30+
for guides on implementing OAuth2 for the application.
3131
"""
3232

3333
creds, _ = google.auth.default()

sheets/snippets/sheets_append_values.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def append_values(spreadsheet_id, range_name, value_input_option,
2828
Creates the batch_update the user has access to.
2929
Load pre-authorized user credentials from the environment.
3030
TODO(developer) - See https://developers.google.com/identity
31-
for guides on implementing OAuth2 for the application.\n"
31+
for guides on implementing OAuth2 for the application.
3232
"""
3333
creds, _ = google.auth.default()
3434
# pylint: disable=maybe-no-member

sheets/snippets/sheets_batch_get_values.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def batch_get_values(spreadsheet_id, _range_names):
2727
Creates the batch_update the user has access to.
2828
Load pre-authorized user credentials from the environment.
2929
TODO(developer) - See https://developers.google.com/identity
30-
for guides on implementing OAuth2 for the application.\n"
30+
for guides on implementing OAuth2 for the application.
3131
"""
3232
creds, _ = google.auth.default()
3333
# pylint: disable=maybe-no-member

sheets/snippets/sheets_batch_update_values.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def batch_update_values(spreadsheet_id, range_name,
2828
Creates the batch_update the user has access to.
2929
Load pre-authorized user credentials from the environment.
3030
TODO(developer) - See https://developers.google.com/identity
31-
for guides on implementing OAuth2 for the application.\n"
31+
for guides on implementing OAuth2 for the application.
3232
"""
3333
creds, _ = google.auth.default()
3434
# pylint: disable=maybe-no-member

sheets/snippets/sheets_conditional_formatting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def conditional_formatting(spreadsheet_id):
2727
Creates the batch_update the user has access to.
2828
Load pre-authorized user credentials from the environment.
2929
TODO(developer) - See https://developers.google.com/identity
30-
for guides on implementing OAuth2 for the application.\n"
30+
for guides on implementing OAuth2 for the application.
3131
"""
3232
creds, _ = google.auth.default()
3333
# pylint: disable=maybe-no-member

sheets/snippets/sheets_create.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def create(title):
2727
Creates the Sheet the user has access to.
2828
Load pre-authorized user credentials from the environment.
2929
TODO(developer) - See https://developers.google.com/identity
30-
for guides on implementing OAuth2 for the application.\n"
30+
for guides on implementing OAuth2 for the application.
3131
"""
3232
creds, _ = google.auth.default()
3333
# pylint: disable=maybe-no-member

0 commit comments

Comments
 (0)