Publish version 0.4

This commit is contained in:
Vincent Jacques
2012-03-12 23:09:06 +01:00
parent 3d6bd49ce2
commit a3be287561
5 changed files with 65 additions and 19 deletions
+8 -5
View File
@@ -41,11 +41,14 @@ class MethodFromCallable:
return self.__callable( obj, **data )
def autoDocument( self ):
doc = "* `" + self.__name + "(" + self.__argumentsChecker.documentParameters() + ")`"
if self.__returnTypePolicy.hasMeaningfulDocumentation():
doc += ": " + self.__returnTypePolicy.documentTypeName()
doc += "\n"
return doc
if self.__name.startswith( "_" ):
return ""
else:
doc = "* `" + self.__name + "(" + self.__argumentsChecker.documentParameters() + ")`"
if self.__returnTypePolicy.hasMeaningfulDocumentation():
doc += ": " + self.__returnTypePolicy.documentTypeName()
doc += "\n"
return doc
class InternalAttribute:
class AttributeDefinition: