Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
979f37af
Commit
979f37af
authored
May 22, 2012
by
Hynek Schlawack
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restore [] where default arguments are not keywords
Reverts some changes of d13fdd97cc8e.
parent
898d51da
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
Doc/library/curses.rst
Doc/library/curses.rst
+1
-1
Doc/library/os.rst
Doc/library/os.rst
+1
-1
Doc/library/ossaudiodev.rst
Doc/library/ossaudiodev.rst
+1
-1
Doc/library/select.rst
Doc/library/select.rst
+1
-1
No files found.
Doc/library/curses.rst
View file @
979f37af
...
...
@@ -1091,7 +1091,7 @@ the following methods:
rendition (as set by :meth:`bkgdset`) merged into them.
.. method:: window.scroll(
lines=1
)
.. method:: window.scroll(
[lines=1]
)
Scroll the screen or scrolling region upward by *lines* lines.
...
...
Doc/library/os.rst
View file @
979f37af
...
...
@@ -1145,7 +1145,7 @@ Files and Directories
Availability: Unix.
.. function:: mknod(filename
, mode=0o600, device=0
)
.. function:: mknod(filename
[, mode=0o600[, device=0]]
)
Create a filesystem node (file, device special file or named pipe) named
*filename*. *mode* specifies both the permissions to use and the type of node
...
...
Doc/library/ossaudiodev.rst
View file @
979f37af
...
...
@@ -277,7 +277,7 @@ The following convenience methods combine several ioctls, or one ioctl and some
simple calculations.
.. method:: oss_audio_device.setparameters(format, nchannels, samplerate
, strict=False
)
.. method:: oss_audio_device.setparameters(format, nchannels, samplerate
[, strict=False]
)
Set the key audio sampling parameters---sample format, number of channels, and
sampling rate---in one method call. *format*, *nchannels*, and *samplerate*
...
...
Doc/library/select.rst
View file @
979f37af
...
...
@@ -285,7 +285,7 @@ Kqueue Objects
Create a kqueue object from a given file descriptor.
.. method:: kqueue.control(changelist, max_events
, timeout=None
) -> eventlist
.. method:: kqueue.control(changelist, max_events
[, timeout=None]
) -> eventlist
Low level interface to kevent
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment