@@ -97,7 +97,7 @@ def parse_heading_todos(heading, todo_candidates):
97
97
98
98
def parse_heading_priority (heading ):
99
99
"""
100
- Get priority and heading without priority field..
100
+ Get priority and heading without priority field.
101
101
102
102
>>> parse_heading_priority('HEADING')
103
103
('HEADING', None)
@@ -347,7 +347,7 @@ class OrgBaseNode(Sequence):
347
347
348
348
def __init__ (self , env , index = None ):
349
349
"""
350
- Create a :class:`OrgBaseNode` object.
350
+ Create an :class:`OrgBaseNode` object.
351
351
352
352
:type env: :class:`OrgEnv`
353
353
:arg env: This will be set to the :attr:`env` attribute.
@@ -475,9 +475,9 @@ def get_parent(self, max_level=None):
475
475
of the ancestor node to return. For example,
476
476
``get_parent(max_level=0)`` returns a root node.
477
477
478
- In general case, it specify a maximum level of the
478
+ In the general case, it specify a maximum level of the
479
479
desired ancestor node. If there is no ancestor node
480
- which level is equal to ``max_level``, this function
480
+ whose level is equal to ``max_level``, this function
481
481
try to find an ancestor node which level is smaller
482
482
than ``max_level``.
483
483
@@ -587,7 +587,7 @@ def children(self):
587
587
>>> c2 is n4
588
588
True
589
589
590
- Note the difference to ``n1[1:]``, which returns the Node 3 also. :
590
+ Note the difference to ``n1[1:]``, which returns the Node 3 also:
591
591
592
592
>>> (m1, m2, m3) = list(n1[1:])
593
593
>>> m2 is n3
@@ -664,7 +664,7 @@ def _get_tags(self, inher=False):
664
664
@property
665
665
def tags (self ):
666
666
"""
667
- Tag of this and parents node.
667
+ Tags of this and parent's node.
668
668
669
669
>>> from orgparse import loads
670
670
>>> n2 = loads('''
@@ -1212,7 +1212,7 @@ def has_date(self):
1212
1212
@property
1213
1213
def repeated_tasks (self ):
1214
1214
"""
1215
- Get repeated tasks marked DONE in a entry having repeater.
1215
+ Get repeated tasks marked DONE in an entry having repeater.
1216
1216
1217
1217
:rtype: list of :class:`orgparse.date.OrgDateRepeatedTask`
1218
1218
0 commit comments