/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to tools/doc_generate/autodoc_rstx.py

  • Committer: mbp at sourcefrog
  • Date: 2007-01-10 07:28:57 UTC
  • mto: (2230.1.1 short-options)
  • mto: This revision was merged to the branch mainline in revision 2229.
  • Revision ID: mbp@sourcefrog.net-20070110072857-mmf4qblq5u67jz0k
Back out previous incompatible change: Option.short_name is now again
a method that returns the short name, if any.

Show diffs side-by-side

added added

removed removed

Lines of Context:
115
115
            l = '        --' + option_name
116
116
            if option.type is not None:
117
117
                l += ' ' + option.argname.upper()
118
 
            short_name = option.short_name
 
118
            short_name = option.short_name()
119
119
            if short_name:
120
120
                assert len(short_name) == 1
121
121
                l += ', -' + short_name