@@ -353,16 +353,16 @@ def __init__(self, id, len, file, extra=None, png=None):
353353 ----------
354354
355355 id : int
356- object id of the stream
356+ Object id of the stream.
357357 len : Reference or None
358- an unused Reference object for the length of the stream;
359- None means to use a memory buffer so the length can be inlined
358+ An unused Reference object for the length of the stream;
359+ None means to use a memory buffer so the length can be inlined.
360360 file : PdfFile
361- the underlying object to write the stream to
361+ The underlying object to write the stream to.
362362 extra : dict from Name to anything, or None
363- extra key-value pairs to include in the stream header
363+ Extra key-value pairs to include in the stream header.
364364 png : dict or None
365- if the data is already png encoded, the decode parameters
365+ If the data is already png encoded, the decode parameters.
366366 """
367367 self .id = id # object id
368368 self .len = len # id of length object
@@ -440,12 +440,12 @@ def __init__(self, filename, metadata=None):
440440 ----------
441441
442442 filename : file-like object or string
443- output target; if a string, a file will be opened for writing
443+ Output target; if a string, a file will be opened for writing.
444444 metadata : dict from strings to strings and dates
445445 Information dictionary object (see PDF reference section 10.2.1
446446 'Document Information Dictionary'), e.g.:
447447 `{'Creator': 'My software', 'Author': 'Me',
448- 'Title': 'Awesome fig'}`
448+ 'Title': 'Awesome fig'}`.
449449
450450 The standard keys are `'Title'`, `'Author'`, `'Subject'`,
451451 `'Keywords'`, `'Creator'`, `'Producer'`, `'CreationDate'`,
0 commit comments