diff options
| author | Damien George <damien.p.george@gmail.com> | 2018-03-15 15:50:51 +1100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2018-03-15 15:50:51 +1100 |
| commit | 0db49c37a4e8d2516ea0206f4e800b907cd4221f (patch) | |
| tree | 9e0d9677ad47953eb577979dfd3060f79ad0c50f /docs/library/uio.rst | |
| parent | c926e72750ddc410f2ae4f1b28d17dfb09b5ca2c (diff) | |
docs: Fix some references and RST markup to eliminate Sphinx warnings.
Diffstat (limited to 'docs/library/uio.rst')
| -rw-r--r-- | docs/library/uio.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/library/uio.rst b/docs/library/uio.rst index 7e6c93228..81420702d 100644 --- a/docs/library/uio.rst +++ b/docs/library/uio.rst @@ -81,7 +81,7 @@ Functions Open a file. Builtin ``open()`` function is aliased to this function. All ports (which provide access to file system) are required to support - `mode` parameter, but support for other arguments vary by port. + *mode* parameter, but support for other arguments vary by port. Classes ------- @@ -103,7 +103,7 @@ Classes text-mode I/O (similar to a normal file opened with "t" modifier). `BytesIO` is used for binary-mode I/O (similar to a normal file opened with "b" modifier). Initial contents of file-like objects - can be specified with `string` parameter (should be normal string + can be specified with *string* parameter (should be normal string for `StringIO` or bytes object for `BytesIO`). All the usual file methods like ``read()``, ``write()``, ``seek()``, ``flush()``, ``close()`` are available on these objects, and additionally, a |
