Content deleted Content added
m merge two refs |
m Add a citation to the Python manual |
||
Line 582:
===Python===
Though it had been delayed for several years by disagreements over syntax, an operator for a conditional expression in [[Python (programming language)|Python]] was approved as [https://www.python.org/dev/peps/pep-0308/ Python Enhancement Proposal 308] and was added to the 2.5 release in September 2006. Python's conditional operator differs from the common {{code|?:}} operator in the order of its operands. The general form is:<ref>{{cite web|url=https://docs.python.org/3/reference/expressions.html#conditional-expressions | title=The Python Language Reference}}</ref>
<syntaxhighlight lang="python">
|