/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: Vincent Ladeuil
  • Date: 2007-09-24 15:01:26 UTC
  • mfrom: (2853 +trunk)
  • mto: (2885.1.1 140432)
  • mto: This revision was merged to the branch mainline in revision 2886.
  • Revision ID: v.ladeuil+lp@free.fr-20070924150126-nll7i0385kisklyj
Merge bzr.dev

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
    """