Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #90779
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Rule of order for dot operators? |
| Date | 2015-05-17 19:18 +0200 |
| Organization | PointedEars Software (PES) |
| Message-ID | <22376984.KGljeZNGsi@PointedEars.de> (permalink) |
| References | <55579886.3010001@cdreimer.com> <mailman.86.1431807388.17265.python-list@python.org> |
Tim Chase wrote: > On 2015-05-16 12:20, C.D. Reimer wrote: >> Does python perform the dot operators from left to right or >> according to a rule of order (i.e., multiplication/division before >> add/subtract)? > > Yes, Python evaluates dot-operators from left to right. “.” is _not_ an operator in Python: <https://docs.python.org/3/reference/lexical_analysis.html#operators> -- PointedEars Twitter: @PointedEars2 Please do not cc me. / Bitte keine Kopien per E-Mail.
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: Rule of order for dot operators? Tim Chase <python.list@tim.thechases.com> - 2015-05-16 14:38 -0500 Re: Rule of order for dot operators? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-05-17 19:18 +0200
csiph-web