/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 bzrlib/symbol_versioning.py

  • Committer: Martin Pool
  • Date: 2007-09-18 04:11:05 UTC
  • mto: This revision was merged to the branch mainline in revision 2831.
  • Revision ID: mbp@sourcefrog.net-20070918041105-mk931ryjv20o3dvu
doc

Show diffs side-by-side

added added

removed removed

Lines of Context:
114
114
 
115
115
def deprecated_method(deprecation_version):
116
116
    """Decorate a method so that use of it will trigger a warning.
 
117
 
 
118
    To deprecate a static or class method, use 
 
119
 
 
120
        @staticmethod
 
121
        @deprecated_function
 
122
        def ...
117
123
    
118
124
    To deprecate an entire class, decorate __init__.
119
125
    """