A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-March/013539.html below:

[Python-Dev] Next-to-last wart in Python syntax.

[Python-Dev] Next-to-last wart in Python syntax. [Python-Dev] Next-to-last wart in Python syntax.Barry A. Warsaw barry@digicool.com
Tue, 13 Mar 2001 15:44:04 -0500
>>>>> "FB" == Finn Bock <bckfnn@worldonline.dk> writes:

    | - and as keyword argument names in arglist

I think this last one doesn't work:

-------------------- snip snip --------------------
Jython 2.0 on java1.3.0 (JIT: jitc)
Type "copyright", "credits" or "license" for more information.
>>> def foo(class=None): pass
Traceback (innermost last):
  (no code object) at line 0
  File "<console>", line 1
	def foo(class=None): pass
	        ^
SyntaxError: invalid syntax
>>> def foo(print=None): pass
Traceback (innermost last):
  (no code object) at line 0
  File "<console>", line 1
	def foo(print=None): pass
	        ^
SyntaxError: invalid syntax
-------------------- snip snip --------------------

-Barry



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4