468,293 Members | 1,901 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,293 developers. It's quick & easy.

Lack of += and -= operators in Pyrex?

I'm experimenting a bit with Pyrex and like it pretty well so far.
While converting a module from Python to Pyrex I noticed it complains
about the use of the += and -= assignment operators. The fix is
obviously pretty trivial. I didn't notice any mention in the Pyrex
docs as a difference between Python and Pyrex though. Was I mistaken?

In case it makes any difference, the structure of the couple
statements I needed to change was

obj.attr.subattr += self.attr

Thx,

Skip
Jun 7 '07 #1
0 735

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Gary Stephenson | last post: by
10 posts views Thread by Kyler Laird | last post: by
1 post views Thread by Paul Prescod | last post: by
4 posts views Thread by Kyler Laird | last post: by
27 posts views Thread by Julien Fiore | last post: by
11 posts views Thread by Jim Lewis | last post: by
7 posts views Thread by Jim Lewis | last post: by
29 posts views Thread by Carl Banks | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by Teichintx | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.