Am 18.04.2012 19:31, schrieb Chris Smith:
So instead of doing

```
import warnings
warnings.warn(SymPyDeprecationWarning(foo))
```

you do

```
SymPyDeprecationWarning(foo).warn
```

That's what I was after.
Looks nice :-)

--
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sympy@googlegroups.com.
To unsubscribe from this group, send email to 
sympy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to