Rev 2830: Better explanation of deprecated statics in http://sourcefrog.net/bzr/trivial

Martin Pool mbp at sourcefrog.net
Tue Sep 18 05:18:22 BST 2007


At http://sourcefrog.net/bzr/trivial

------------------------------------------------------------
revno: 2830
revision-id: mbp at sourcefrog.net-20070918041820-1uv8vryp7218rch8
parent: mbp at sourcefrog.net-20070918041654-grr1z7j8zrf6hke6
committer: Martin Pool <mbp at sourcefrog.net>
branch nick: trivial
timestamp: Tue 2007-09-18 14:18:20 +1000
message:
  Better explanation of deprecated statics
modified:
  doc/developers/HACKING.txt     HACKING-20050805200004-2a5dc975d870f78c
=== modified file 'doc/developers/HACKING.txt'
--- a/doc/developers/HACKING.txt	2007-09-17 03:47:46 +0000
+++ b/doc/developers/HACKING.txt	2007-09-18 04:18:20 +0000
@@ -628,8 +628,8 @@
 methods, functions, and other interfaces to indicate that they should no
 longer be used.
 
-To deprecate a static method this invocation is needed, in this particular
-order::
+To deprecate a static method you must call ``deprecated_function``
+(**not** method), after the staticmethod call::
 
     @staticmethod
     @deprecated_function(zero_ninetyone)




More information about the bazaar-commits mailing list