Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

fix example code in Getting a ColumnFamily #192

Merged
merged 1 commit into from

2 participants

@termie

the "pycassa" module is neither imported nor needed

@termie termie fix example code in Getting a ColumnFamily
the "pycassa" module is neither imported nor needed
b620b80
@hannosch hannosch merged commit dc09c50 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 12, 2013
  1. @termie

    fix example code in Getting a ColumnFamily

    termie authored
    the "pycassa" module is neither imported nor needed
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  doc/tutorial.rst
View
2  doc/tutorial.rst
@@ -132,7 +132,7 @@ are included in the default schema file:
>>> from pycassa.columnfamily import ColumnFamily
>>>
>>> pool = ConnectionPool('Keyspace1')
- >>> col_fam = pycassa.ColumnFamily(pool, 'ColumnFamily1')
+ >>> col_fam = ColumnFamily(pool, 'ColumnFamily1')
If you get an error about the keyspace or column family not
existing, make sure you created the keyspace and column family as
Something went wrong with that request. Please try again.