On 2018年04月24日 12:59, Chris Angelico wrote:
Slightly different in that they return the value, and are expressions not assignment statements. Now, I agree that's not a difference of much consequence, but the difference from "import as" is not either.Aside from the restriction to binding only to a simple name, and the fact that they're also an expression with the same value, how are they not the same as plain assignment? Any discrepancies should be considered bugs.
-Mike _______________________________________________ Python-Dev mailing list [email protected] https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com