1. Daniel Ostrowski
  2. riakdocs

Commits

Daniel Ostrowski  committed 99da101

wtf, is this JavaScript?

  • Participants
  • Parent commits c0ccafe
  • Branches default

Comments (0)

Files changed (1)

File README.md

View file
     doc = MyDoc('abc1', tag='noodle')
     # Doc can be accessed like a dict since initialize_data(), above, returns a dict.
     doc['person'] = {'category': 'engineer'}
-    print doc.complex_index                        // prints "abc1_engineer"
-    doc.save()                                     // stores to Riak, prints "just saved: {'id': 'abc1', 'tag': 'noodle', 'person': ..."
+    print doc.complex_index                        # prints "abc1_engineer"
+    doc.save()                                     # stores to Riak, prints "just saved: {'id': 'abc1', 'tag': 'noodle', 'person': ..."