@@ -134,7 +134,7 @@ def new_id(self, oid=None):
134134 @property
135135 def name (self ):
136136 """
137- Returns the name of the Section.
137+ The name of the Section.
138138 """
139139 return self ._name
140140
@@ -195,7 +195,7 @@ def include(self, new_value):
195195 @property
196196 def link (self ):
197197 """
198- Specifies a softlink, i.e. a path within the document.
198+ A softlink, i.e. a path within the document.
199199 When the merge()-method is called, the link will be resolved creating
200200 according copies of the section referenced by the link attribute.
201201 When the unmerge() method is called (happens when running clean())
@@ -236,7 +236,7 @@ def link(self, new_value):
236236 @property
237237 def definition (self ):
238238 """
239- Returns the definition of the Section.
239+ The definition of the Section.
240240 """
241241 return self ._definition
242242
@@ -292,7 +292,7 @@ def sections(self):
292292 @property
293293 def parent (self ):
294294 """
295- Returns the parent Section, Document or None.
295+ The parent Section, Document or None.
296296 """
297297 return self ._parent
298298
@@ -350,7 +350,7 @@ def get_terminology_equivalent(self):
350350
351351 def get_merged_equivalent (self ):
352352 """
353- Return the merged object or None.
353+ Returns the merged object or None.
354354 """
355355 return self ._merged
356356
@@ -659,7 +659,7 @@ def create_property(self, name, value=None, dtype=None, oid=None):
659659
660660 def pprint (self , indent = 2 , max_depth = 1 , max_length = 80 , current_depth = 0 ):
661661 """
662- Pretty print method to visualize Section-Property trees.
662+ Pretty prints Section-Property trees for nicer visualization .
663663
664664 :param indent: number of leading spaces for every child Section or Property.
665665 :param max_depth: number of maximum child section layers to traverse and print.
@@ -687,7 +687,7 @@ def pprint(self, indent=2, max_depth=1, max_length=80, current_depth=0):
687687
688688 def export_leaf (self ):
689689 """
690- Export only the path from this section to the root.
690+ Exports only the path from this section to the root.
691691 Include all properties for all sections, but no other subsections.
692692
693693 :returns: cloned odml tree to the root of the current document.
0 commit comments