Message55023
| Author |
josiahcarlson |
| Recipients |
| Date |
2007年03月12日.20:06:41 |
| SpamBayes Score |
| Marked as misclassified |
| Message-id |
| In-reply-to |
| Content |
Not all x line functions should be built into Python. Further, Python's standard syntax offers an infix operator that does the same thing (though in slightly different order as described below, you can reorder with minimal effort).
identity(X, Y) -> (Y and False) or X
Also, the only use-case that you are provided and that I can imagine, are examples like you provide where one is changing state within a statement (if, elif, while, etc.) or expression (generator, list comprehension, conditional, etc.). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年08月23日 16:12:36 | admin | link | issue1673203 messages |
| 2007年08月23日 16:12:36 | admin | create |
|