-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Add with ... as ... usage
#1117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 30 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
a2b7b55
Add `with ... as ...` usage (#1108)
JianzhengLuo 2a88bd5
Update PyPDF2/_merger.py according to @MasterOdin's suggestions
JianzhengLuo b6d0351
Update PyPDF2/_merger.py according to @MasterOdin's suggestions
JianzhengLuo 80813aa
Update PyPDF2/_merger.py according to @MasterOdin's suggestions
JianzhengLuo e6ec1f6
Update PyPDF2/_merger.py according to @MasterOdin's suggestions
JianzhengLuo 386be5b
Update PyPDF2/_merger.py according to @MasterOdin's suggestions
JianzhengLuo 31786bb
Sorry, I forgot to run before committing, so didn't notice that `Trac…
JianzhengLuo ae1bec0
Modify the wrong closing place that cause.
JianzhengLuo 0b7c64e
Merge branch 'main' into add-with-as-usage-#1108
JianzhengLuo b695113
Modify PyPDF2/_writer.py according to @MasterOdin's suggestions
JianzhengLuo 58797c2
Modify PyPDF2/_writer.py according to @MasterOdin's suggestions
JianzhengLuo 1caa9ec
Modify PyPDF2/_writer.py according to @MasterOdin's suggestions
JianzhengLuo 4fbe3cc
Modify PyPDF2/_writer.py according to @MasterOdin's suggestions
JianzhengLuo d598e8a
Modify PyPDF2/_writer.py according to @MasterOdin's suggestions
JianzhengLuo 7ecf9ff
Merge branch 'add-with-as-usage-#1108' of https://github.com/Jianzhen…
JianzhengLuo 562ebc7
Merge branch 'main' into add-with-as-usage-#1108
519dad1
Fix accident
JianzhengLuo 336053a
Merge branch 'add-with-as-usage-#1108' of https://github.com/Jianzhen…
JianzhengLuo 90af68a
Fix error raising while using half traditional usage
JianzhengLuo 0f67658
Add a unit test (Problems still exist, please help.)
JianzhengLuo a6f973e
Update PyPDF2/_merger.py according to @MartinThoma's suggestions
JianzhengLuo 580ad8c
Modify PyPDF2/_merger.py according to flake8
JianzhengLuo bf264bc
Modify to compatible with the existing usage
JianzhengLuo c705300
Modify to compatible with the with .. as ... usage
JianzhengLuo 2940589
Removed a meaningless annotation
JianzhengLuo cda38ac
Fixed wrong test function names
JianzhengLuo 0b18198
Fixed those I can fix only.
JianzhengLuo 62f970f
Removed useless `else` section
JianzhengLuo d85c91b
Renamed argument name `fileobj` back to `stream` to keep the existing…
JianzhengLuo 5cd3f3e
Modified annoation for `PdfWriter().write()` and `PdfWriter().write_s…
JianzhengLuo a7346ef
Switched `fileobj` and `strict` in initializing `PdfWriter()` to keep…
JianzhengLuo d3e62ee
Modified annoation to make the it match the arguments
JianzhengLuo 59be94d
Modified undefined name `fileobj`
JianzhengLuo 092f209
Merge branch 'main' into add-with-as-usage-#1108
MartinThoma File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.