Skip to content

Commit

Permalink
docs update
Browse files Browse the repository at this point in the history
  • Loading branch information
garbados committed Apr 22, 2014
1 parent 0460966 commit b69cbec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/site/index.html
Expand Up @@ -87,7 +87,8 @@ <h3>Pythonisms</h3>
<p>Cloudant and CouchDB expose REST APIs that map easily into native Python objects. As much as possible, Cloudant-Python uses native Python objects as shortcuts to the raw API, so that such convenience never obscures what's going on underneath. For example:</p>
<pre><code class="python">import cloudant

account = cloudant.Account('garbados')
# connect to http://localhost:5984
account = cloudant.Account()
db = account.database('test')
same_db = account['test']
assert db.uri == same_db.uri
Expand Down

0 comments on commit b69cbec

Please sign in to comment.