minor: doc

This commit is contained in:
Mike Dirolf 2010-03-17 10:45:24 -04:00
parent 786f1de795
commit 97b91b7e4a
2 changed files with 8 additions and 2 deletions

View File

@ -3,4 +3,8 @@
.. automodule:: gridfs.grid_file
:synopsis: Tools for representing files stored in GridFS
:members:
.. autoclass:: GridFile(file-spec, database[, mode='r'[, collection='fs']])
:members:
.. autoattribute:: _id

View File

@ -166,7 +166,9 @@ class GridFile(object):
@property
def _id(self):
"""Get the value of ``"_id"`` for this :class:`GridFile`.
"""The ``"_id"`` value for this :class:`GridFile`.
.. versionadded:: 1.5+
"""
return self.__id