>
> Now I think about it, I suspect your way (and now my preferred way) might have been an innovation for Python 3?
>
> M
I don't believe so. I didn't look, but I think that syntax goes back <= 2.6. Pretty sure I've used it in 2.4. I know I've been using it in 2.7 for years. As I mentioned, I'd never seen the syntax ordering that you had used in any source code, documentation, or blog post that I can recall, and I'm still a bit confused as to why it works in my head, but that's just one of those things I'll tuck back for a late-night debug session in the future.
Maybe it was a transparent backport from Python 3 at some point?
-James
--You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2Be%2BciU3qiGmKPN7dbkmrazKi4GDGdAY4nV5fBedZ_%2B4tMYvGQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment