Skip to content

Commit

Permalink
fix: #943 Docstring implies Px subtype of Length
Browse files Browse the repository at this point in the history
#943

Remove mention of a `Px` subtype of `Length` since no such subtype
exists. Turns out a pixel has various sizes on different systems so no
standard unit of measure is possible.
  • Loading branch information
scanny committed Aug 3, 2024
1 parent c38d5f5 commit 6396637
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
Release History
---------------

0.6.24-dev0
+++++++++++++++++++

- fix: #943 remove mention of a Px Length subtype

0.6.23 (2023-11-02)
+++++++++++++++++++

Expand Down
2 changes: 1 addition & 1 deletion src/pptx/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


class Length(int):
"""Base class for length classes Inches, Emu, Cm, Mm, Pt, and Px.
"""Base class for length classes Inches, Emu, Cm, Mm, and Pt.
Provides properties for converting length values to convenient units.
"""
Expand Down

0 comments on commit 6396637

Please sign in to comment.