Author ncoghlan
Recipients BreamoreBoy, belopolsky, eric.araujo, georg.brandl, giampaolo.rodola, ncoghlan, ping, r.liebscher, ron_adam, srid
Date 2010-11-14.07:40:10
SpamBayes Score 0.00367305
Marked as misclassified No
Message-id <>
Just call warnings.warn with an appropriate message, a category of DeprecationWarning and a stacklevel of 2 (so the warning will refer to the function's caller rather than to the pydoc code).

It's basically the example from the warnings.warn docs.
Date User Action Args
2010-11-14 07:40:12ncoghlansetrecipients: + ncoghlan, ping, georg.brandl, belopolsky, giampaolo.rodola, ron_adam, eric.araujo, r.liebscher, srid, BreamoreBoy
2010-11-14 07:40:12ncoghlansetmessageid: <>
2010-11-14 07:40:10ncoghlanlinkissue2001 messages
2010-11-14 07:40:10ncoghlancreate