@@ -47,11 +47,11 @@ except:
4747# opened - was the tag file successfully opened?
4848# error_number - errno value when 'opened' is false
4949# format - format of tag file (1 = original, 2 = extended)
50- # sort - how is the tag file sorted?
51- # author - name of author of generating program (may be empy string)
52- # name - name of program (may be empy string)
53- # url - URL of distribution (may be empy string)
54- # version - program version (may be empty string)
50+ # sort - how is the tag file sorted?
51+ # author - name of author of generating program (may be an empty string)
52+ # name - name of program (may be an empty string)
53+ # url - URL of distribution (may be an empty string)
54+ # version - program version (may be an empty string)
5555
5656print tagFile[' name' ]
5757print tagFile[' author' ]
@@ -60,7 +60,7 @@ print tagFile['format']
6060# Available sort type:
6161# TAG_UNSORTED, TAG_SORTED, TAG_FOLDSORTED
6262
63- # Note: use this only if you know how the tags file is sorted which is
63+ # Note: use this only if you know how the tags file is sorted which is
6464# specified when you generate the tag file
6565status = tagFile.setSortType(ctags.TAG_SORTED )
6666```
@@ -78,17 +78,17 @@ if status:
7878 # lineNumber - line number in source file of tag definition (may be zero if not known)
7979 # kind - kind of tag (none if not known)
8080 # fileScope - is tag of file-limited scope?
81-
82- # Note: other keys will be assumed as an extension key and will
83- # return None if no such key is found
81+
82+ # Note: other keys will be assumed as an extension key and will
83+ # return None if no such key is found
8484
8585 print entry[' name' ]
8686 print entry[' kind' ]
8787```
8888
8989** Finding a Tag Entry**
90- ``` python
91- # Available options:
90+ ``` python
91+ # Available options:
9292# TAG_PARTIALMATCH - begin with
9393# TAG_FULLMATCH - full length matching
9494# TAG_IGNORECASE - disable binary search
@@ -100,7 +100,7 @@ if tagFile.find(entry, 'find', ctags.TAG_PARTIALMATCH | ctags.TAG_IGNORECASE):
100100 print entry[' pattern' ]
101101 print entry[' kind' ]
102102
103- # Find the next tag matching the name and options supplied to the
103+ # Find the next tag matching the name and options supplied to the
104104# most recent call to tagFile.find(). (replace the entry if found)
105105status = tagFile.findNext(entry)
106106
0 commit comments