From 71e0f04d8e43c90141e0200cc6d89b7754f958df Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sun, 16 May 2010 16:09:36 -0400 Subject: [PATCH] documentation update --- README.rst | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/README.rst b/README.rst index de90adb..3be808e 100644 --- a/README.rst +++ b/README.rst @@ -9,22 +9,21 @@ Example Usage ------------- from gistapi import * - >> Gist('d4507e882a07ac6f9f92').repo - 'd4507e882a07ac6f9f92' + >> gist = Gist('d4507e882a07ac6f9f92') - >> Gist('d4507e882a07ac6f9f92').description + >> gist.description 'Example Gist for gist.py' - >> Gist('d4507e882a07ac6f9f92').created_at + >> gist.created_at '2010/05/16 10:51:15 -0700' - >> Gist('d4507e882a07ac6f9f92').public + >> gist.public False - >> Gist('d4507e882a07ac6f9f92').filenames + >> gist.filenames ['exampleEmptyFile', 'exampleFile'] - >> Gist('d4507e882a07ac6f9f92').files + >> gist.files {'exampleFile': 'Example file content.', 'exampleEmptyFile': ''} >> Gists.fetch_by_user('kennethreitz')[-1].description