Skip to content

Commit

Permalink
One-line docstrings.
Browse files Browse the repository at this point in the history
Sigh.  That is *never* gonna look right to me.
  • Loading branch information
tseaver committed Nov 7, 2014
1 parent f8d8844 commit a915447
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions gcloud/storage/key.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@ def _scalar_property(fieldname):
"""Create a property descriptor around the :class:`_PropertyMixin` helpers.
"""
def _getter(self):
"""Scalar property getter.
"""
"""Scalar property getter."""
return self.properties[fieldname]

def _setter(self, value):
"""Scalar property setter.
"""
"""Scalar property setter."""
self._patch_properties({fieldname: value})

return property(_getter, _setter)
Expand Down

0 comments on commit a915447

Please sign in to comment.