Skip to content

Commit ca8e378

Browse files
committed
Update documentation.
1 parent 8b29334 commit ca8e378

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,7 @@ instance before you invoke the operation. When an operation with ``gpg`` is init
10481048
``python-gnupg`` buffers the data. At the end of the data stream, it will be called with
10491049
a zero-length bytestring (allowing you do any necessary clean-up).
10501050

1051-
If the ``on_data`` callable returns ``False``, the data will not be buffered by
1051+
If the ``on_data`` callable returns ``False``, the data will *not* be buffered by
10521052
``python-gnupg``. For any other return value (including ``None``), the data *will* be
10531053
buffered. (This slightly odd arrangement is for backwards compatibility.)
10541054

@@ -1090,7 +1090,7 @@ Example usages (not tested, error handling omitted):
10901090
10911091
class Processor:
10921092
def __init__(self, fn):
1093-
self.out = open(fn, 'w')
1093+
self.out = open(fn, 'w', encoding='utf-8')
10941094
self.decoder = codecs.getincrementaldecoder('utf-8')
10951095
self.result = ''
10961096

docs/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
sphinxcontrib-spelling==7.6.2
22
sphinx<7
3+
sphinx-rtd-theme>=1.2.2

0 commit comments

Comments
 (0)