471,336 Members | 1,427 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,336 software developers and data experts.

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 774

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 rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.