Skip to content

Commit 10fa100

Browse files
committed
Rephrase "This" in docstrings
1 parent e720959 commit 10fa100

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

readthedocs/projects/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,13 +378,13 @@ def get_subproject_urls(self):
378378

379379
def get_production_media_path(self, type_, version_slug, include_file=True):
380380
"""
381-
This is used to see if these files exist so we can offer them for
382-
download.
381+
Used to see if these files exist so we can offer them for download.
383382
384383
:param type_: Media content type, ie - 'pdf', 'zip'
385384
:param version_slug: Project version slug for lookup
386385
:param include_file: Include file name in return
387386
:type include_file: bool
387+
388388
:returns: Full path to media file or path
389389
"""
390390
if getattr(settings, 'DEFAULT_PRIVACY_LEVEL', 'public') == 'public' or settings.DEBUG:

readthedocs/projects/tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1042,7 +1042,7 @@ def clear_html_artifacts(version):
10421042
@app.task(queue='web')
10431043
def sync_callback(_, version_pk, commit, *args, **kwargs):
10441044
"""
1045-
This will be called once the sync_files tasks are done.
1045+
Called once the sync_files tasks are done.
10461046
10471047
The first argument is the result from previous tasks, which we discard.
10481048
"""

readthedocs/restapi/views/integrations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ def handle_webhook(self):
313313
class WebhookView(APIView):
314314

315315
"""
316-
This is the main webhook view for webhooks with an ID.
316+
Main webhook view for webhooks with an ID.
317317
318318
The handling of each view is handed off to another view. This should only
319319
ever get webhook requests for established webhooks on our side. The other

0 commit comments

Comments
 (0)