Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(5211)

Delta Between Two Patch Sets: Doc/library/os.rst

Issue 12655: Expose sched.h functions
Left Patch Set: Created 9 months, 3 weeks ago
Right Patch Set: Created 9 months, 3 weeks ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | Lib/test/test_posix.py » ('j') | Modules/posixmodule.c » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(Both sides are equal)
1 :mod:`os` --- Miscellaneous operating system interfaces 1 :mod:`os` --- Miscellaneous operating system interfaces
2 ======================================================= 2 =======================================================
3 3
4 .. module:: os 4 .. module:: os
5 :synopsis: Miscellaneous operating system interfaces. 5 :synopsis: Miscellaneous operating system interfaces.
6 6
7 7
8 This module provides a portable way of using operating system dependent 8 This module provides a portable way of using operating system dependent
9 functionality. If you just want to read or write a file see :func:`open`, if 9 functionality. If you just want to read or write a file see :func:`open`, if
10 you want to manipulate paths, see the :mod:`os.path` module, and if you want to 10 you want to manipulate paths, see the :mod:`os.path` module, and if you want to
(...skipping 3285 matching lines...) Expand 10 before | Expand all | Expand 10 after
3296 3296
3297 .. function:: urandom(n) 3297 .. function:: urandom(n)
3298 3298
3299 Return a string of *n* random bytes suitable for cryptographic use. 3299 Return a string of *n* random bytes suitable for cryptographic use.
3300 3300
3301 This function returns random bytes from an OS-specific randomness source. Th e 3301 This function returns random bytes from an OS-specific randomness source. Th e
3302 returned data should be unpredictable enough for cryptographic applications, 3302 returned data should be unpredictable enough for cryptographic applications,
3303 though its exact quality depends on the OS implementation. On a Unix-like 3303 though its exact quality depends on the OS implementation. On a Unix-like
3304 system this will query /dev/urandom, and on Windows it will use CryptGenRando m. 3304 system this will query /dev/urandom, and on Windows it will use CryptGenRando m.
3305 If a randomness source is not found, :exc:`NotImplementedError` will be raise d. 3305 If a randomness source is not found, :exc:`NotImplementedError` will be raise d.
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld cbc36f91f3f7