Replies: 1 comment
|
@dyp1109 yes - what you explain makes sense please create a PR :) |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
On Extract text from a PDF, the example opens both a PDF and an output file:
Only out is closed, doc is not. This patterns repeats across most examples on the pages, except for the last few sections redacting-content-from-a-pdf, doc is closed at the end.
Should we adding close() to the examples to make the page consistent? As the current example may imply that only the output stream needs to be closed. Happy to open a docs PR if that would help.
All reactions