Skip to content

Commit

Permalink
Removing docstring lines with only empty '>>>'.
Browse files Browse the repository at this point in the history
Found via "git grep -e '>>>$'".
  • Loading branch information
dhermes committed Jan 8, 2015
1 parent 073478a commit 48bcddc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions gcloud/datastore/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
>>> from gcloud.datastore.entity import Entity
>>> from gcloud.datastore.key import Key
>>> from gcloud.datastore.query import Query
>>>
>>> datastore.set_default_connection()
>>> datastore.set_default_dataset_id()
>>>
>>> key = Key('EntityKind', 1234)
>>> entity = Entity(key)
>>> query = Query(kind='EntityKind')
Expand Down Expand Up @@ -102,7 +102,7 @@ def get_connection():
>>> from gcloud import datastore
>>> from gcloud.datastore import Key
>>>
>>> connection = datastore.get_connection()
>>> key1 = Key('Kind', 1234, dataset_id='dataset1')
>>> key2 = Key('Kind', 1234, dataset_id='dataset2')
Expand Down
4 changes: 2 additions & 2 deletions gcloud/datastore/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,10 +263,10 @@ def run_query(self, dataset_id, query_pb, namespace=None, eventual=False):
>>> from gcloud import datastore
>>> from gcloud.datastore.query import Query
>>>
>>> datastore.set_default_connection()
>>> datastore.set_default_dataset_id()
>>>
>>> query = Query(kind='MyKind')
>>> query.add_filter('property', '=', 'val')
Expand Down
4 changes: 2 additions & 2 deletions gcloud/datastore/transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ class Transaction(object):
>>> from gcloud import datastore
>>> from gcloud.datastore.transaction import Transaction
>>>
>>> datastore.set_default_connection()
>>> datastore.set_default_dataset_id()
>>>
>>> with Transaction()
... entity1.save()
... entity2.save()
Expand Down

0 comments on commit 48bcddc

Please sign in to comment.