/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: 2008-05-02 06:12:13 UTC
  • mto: (3408.2.1 integration)
  • mto: This revision was merged to the branch mainline in revision 3410.
  • Revision ID: mbp@sourcefrog.net-20080502061213-n4x0151my5ch4041
Remove zero_nine deprecations

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
           'deprecated_passed',
29
29
           'set_warning_method',
30
30
           'warn',
31
 
           'zero_nine',
32
31
           'zero_ten',
33
32
           'zero_eleven',
34
33
           'zero_twelve',
56
55
 
57
56
 
58
57
DEPRECATED_PARAMETER = "A deprecated parameter marker."
59
 
zero_nine = "%s was deprecated in version 0.9."
60
58
zero_ten = "%s was deprecated in version 0.10."
61
59
zero_eleven = "%s was deprecated in version 0.11."
62
60
zero_twelve = "%s was deprecated in version 0.12."
252
250
        ):
253
251
        """Create a dict that warns when read or modified.
254
252
 
255
 
        :param deprecation_version: something like zero_nine
 
253
        :param deprecation_version: string for the warning format to raise,
 
254
            typically from deprecated_in()
256
255
        :param initial_value: The contents of the dict
257
256
        :param variable_name: This allows better warnings to be printed
258
257
        :param advice: String of advice on what callers should do instead 
277
276
                    initial_value, extra=None):
278
277
    """Create a list that warns when modified
279
278
 
280
 
    :param deprecation_version: something like zero_nine
 
279
    :param deprecation_version: string for the warning format to raise,
 
280
        typically from deprecated_in()
281
281
    :param initial_value: The contents of the list
282
282
    :param variable_name: This allows better warnings to be printed
283
283
    :param extra: Extra info to print when printing a warning