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/2012-May/119612.html below:

[Python-Dev] [Python-checkins] cpython (2.7): #14804: Remove [] around optional arguments with default values

[Python-Dev] [Python-checkins] cpython (2.7): #14804: Remove [] around optional arguments with default values [Python-Dev] [Python-checkins] cpython (2.7): #14804: Remove [] around optional arguments with default valuesHynek Schlawack hs at ox.cx
Tue May 22 14:38:01 CEST 2012
Hi Nick,

>> Mostly just mechanical removal of []. In some rare cases I've pulled the
>> default value up into the argument list.
> Be a little careful with this - "[]" is the right notation when the
> function doesn't support keyword arguments. At least one of the
> updated signatures is incorrect:

Ah dang, thanks for pointing this out! I went at least five times
through all changes but there had to be one thing I missed. :(

Same in dl.open() & ossaudiodev.oss_audio_device.setparameters(). I will
go through them all once more and fix it at the latest tomorrow.

Regards,
Hynek
More information about the Python-Dev mailing list

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