summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2002-11-27 22:19:15 (GMT)
committerGreg Ward <gward@python.net>2002-11-27 22:19:15 (GMT)
commita34b1a074929c1ca1b8458bd26563b2385a1fe6b (patch)
treede2ade0fc9a412812fab5e498ce97ddaafedf758 /Python
parentef786ae1a53d40107a6e7f9640a5029c1d663737 (diff)
downloadcpython-a34b1a074929c1ca1b8458bd26563b2385a1fe6b.zip
cpython-a34b1a074929c1ca1b8458bd26563b2385a1fe6b.tar.gz
cpython-a34b1a074929c1ca1b8458bd26563b2385a1fe6b.tar.bz2
Allow the device name to be passed to linuxaudiodev.open(), for
consistency with the built-in open() (and every other sane open() function, for that matter). The two valid ways to call this open() are now open(mode) and open(device, mode). For backwards compatibility, retain the old open(mode) calling syntax -- this makes the error message when you call open(device) a bit confusing, but oh well. This is the first half of SF patch #644977.
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions