Skip to content

Commit

Permalink
Correct docstring style to match PEP 257
Browse files Browse the repository at this point in the history
  • Loading branch information
stucox committed Jun 19, 2016
1 parent 10541e4 commit d9510ca
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion grow/common/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def get_rows_from_csv(pod, path, locale=SENTINEL):


def import_string(import_name, paths):
""" Imports & returns an object using dot notation, e.g. 'A.B.C' """
"""Imports & returns an object using dot notation, e.g. 'A.B.C'"""
# ASSUMPTION: import_name refers to a value in a module (i.e. must have at
# least 2 parts)
if '.' not in import_name:
Expand Down
2 changes: 1 addition & 1 deletion grow/pods/catalogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def update(self, template_path=None, use_fuzzy_matching=False,
self.save(include_header=include_header)

def merge_obsolete(self):
""" Copy obsolete terms into the main catalog """
"""Copy obsolete terms into the main catalog"""
for msgid, message in self.obsolete.iteritems():
self[msgid] = message

Expand Down
2 changes: 1 addition & 1 deletion grow/testing/testdata/pod/extensions/triplicate.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Example (but pointless) custom Jinja Extension """
"""Example (but pointless) custom Jinja Extension."""
from jinja2.ext import Extension


Expand Down

0 comments on commit d9510ca

Please sign in to comment.