Skip to content

Commit

Permalink
Improved documentation (and fixed copy paste error)
Browse files Browse the repository at this point in the history
  • Loading branch information
lcosmin committed Jul 21, 2015
1 parent d2d08b4 commit cdab6c7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
10 changes: 5 additions & 5 deletions boardgamegeek/things.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# coding: utf-8
"""
:mod:`boardgamegeek.user` - Generic objects
===========================================
:mod:`boardgamegeek.things` - Generic objects
=============================================
.. module:: boardgamegeek.user
.. module:: boardgamegeek.things
:platform: Unix, Windows
:synopsis: Generic objects
Expand All @@ -18,7 +18,7 @@

class Thing(DictObject):
"""
A thing, an object with a name and an id
A thing, an object with a name and an id. Base class for various objects in the library.
"""
def __init__(self, data):
for i in ["id", "name"]:
Expand All @@ -41,4 +41,4 @@ def id(self):
return self._data["id"]

def __repr__(self):
return "Thing (id: {})".format(self.id)
return "Thing (id: {})".format(self.id)
10 changes: 8 additions & 2 deletions docs/modules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ Modules
.. automodule:: boardgamegeek.games
:members:


.. automodule:: boardgamegeek.guild
:members:
:undoc-members:
Expand All @@ -34,11 +33,18 @@ Modules
:members:
:undoc-members:

.. automodule:: boardgamegeek.search
:members:
:undoc-members:

.. automodule:: boardgamegeek.things
:members:
:undoc-members:

.. automodule:: boardgamegeek.utils
.. automodule:: boardgamegeek.user
:members:
:undoc-members:

.. automodule:: boardgamegeek.utils
:members:
:undoc-members:

0 comments on commit cdab6c7

Please sign in to comment.