Skip to content

DOC: Fix typos in comments, docstrings and a local variable name - #277

Merged
MartinThoma merged 2 commits into
py-pdf:mainfrom
TypoScan3000:docs/fix-typos
Oct 25, 2026
Merged

MartinThoma merged 2 commits into
py-pdf:mainfrom
TypoScan3000:docs/fix-typos

Conversation

@Avicennasis

Copy link
Copy Markdown
Contributor

Summary

Fix four small typos:

  • pdfly/booklet.py (module docstring, shown by pdfly booklet --help): "The content of those pages are from the" → "The content of those pages is from the". The copy of that help text in docs/user/subcommand-booklet.md is updated to match.
  • pdfly/sign.py (comments): "FDPF.output()" → "FPDF.output()" (the class is fpdf.FPDF), and "the input pdfs contents" → "the input pdfs' contents".
  • pdfly/metadata.py: local variable unemedded_fonts → unembedded_fonts (4 occurrences, all inside main(); nothing outside the function refers to it).

Checklist: no unit test needed (no behaviour change); docs updated; no CHANGELOG line for a typo fix, but happy to add one if you prefer.

By submitting this pull request, I confirm that my contribution is made under the terms of the BSD 3-Clause license.

No functional changes — comments, docstrings/help text and one function-local variable name only.

Signed-off-by: Léon Avic Simmons <Avicennasis@gmail.com>

@MartinThoma MartinThoma left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thank you for the fixes!

@MartinThoma
MartinThoma enabled auto-merge (squash) October 25, 2026 18:12
@MartinThoma
MartinThoma merged commit e5bbff5 into py-pdf:main Oct 25, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants