mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
Fixing doc warnings, reformatting docstring comments
This commit is contained in:
parent
d80eef46ce
commit
a0d6cf01ce
|
@ -15,8 +15,11 @@ Improved version of the OleFileIO module from PIL library v1.1.6
|
|||
See: http://www.pythonware.com/products/pil/index.htm
|
||||
|
||||
The Python Imaging Library (PIL) is
|
||||
|
||||
Copyright (c) 1997-2005 by Secret Labs AB
|
||||
|
||||
Copyright (c) 1995-2005 by Fredrik Lundh
|
||||
|
||||
OleFileIO_PL changes are Copyright (c) 2005-2014 by Philippe Lagadec
|
||||
|
||||
See source code and LICENSE.txt for information on usage and redistribution.
|
||||
|
@ -1701,10 +1704,12 @@ class OleFileIO:
|
|||
Open a stream as a read-only file object (BytesIO).
|
||||
|
||||
filename: path of stream in storage tree (except root entry), either:
|
||||
|
||||
- a string using Unix path syntax, for example:
|
||||
'storage_1/storage_1.2/stream'
|
||||
- a list of storage filenames, path to the desired stream/storage.
|
||||
Example: ['storage_1', 'storage_1.2', 'stream']
|
||||
|
||||
return: file object (read-only)
|
||||
raise IOError if filename not found, or if this is not a stream.
|
||||
"""
|
||||
|
@ -1722,6 +1727,7 @@ class OleFileIO:
|
|||
|
||||
filename: path of stream in storage tree. (see openstream for syntax)
|
||||
return: False if object does not exist, its entry type (>0) otherwise:
|
||||
|
||||
- STGTY_STREAM: a stream
|
||||
- STGTY_STORAGE: a storage
|
||||
- STGTY_ROOT: the root entry
|
||||
|
|
Loading…
Reference in New Issue
Block a user