Commit c1c1627f authored by eric pellegrini's avatar eric pellegrini

Fully docstringed the MDANSE.Data.ElementsDatabase module

Bug fix in build_doc script
Modified some entries of the elements databse
parent 73645f9f
......@@ -3,6 +3,7 @@
rm -rf Documentation
mkdir Documentation
mkdir Documentation/_static
sphinx-apidoc -o ./Documentation -F --separate -d 5 -H MDANSE -A "B. Aoun & G. Goret & E. Pellegrini" -V 1.0 -R 1.0 ../MDANSE/
......
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -41,10 +41,11 @@ class UserDefinitionsError(Error):
'''
This class handles exception related to UserDefinitions
'''
pass
class UnicodeDict(dict):
'''
This class implements a specification of python dict that converts automatically any string key in unicode.
This class implements a specification of a python dict that converts automatically any string key in unicode.
This kind of object is useful when exposed to package such as wxPython that implements string as unicode.
'''
......@@ -69,7 +70,7 @@ class UnicodeDict(dict):
'''
Sets the value of a given key.
If the key is a basestirng, it will be converted internally in a unicode objet.
If the key is a basestring, it will be converted internally in a unicode objet.
:param item: the key to set in the dictionary
:type item: any valid key
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment