[Git][reproducible-builds/diffoscope][master] Correct typos in diffoscope/presenters/utils.py
Holger Levsen (@holger)
gitlab at salsa.debian.org
Wed Aug 30 10:33:51 UTC 2023
Holger Levsen pushed to branch master at Reproducible Builds / diffoscope
Commits:
bf334e1d by Felix Yan at 2023-08-30T12:33:38+02:00
Correct typos in diffoscope/presenters/utils.py
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- diffoscope/presenters/utils.py
Changes:
=====================================
diffoscope/presenters/utils.py
=====================================
@@ -214,7 +214,7 @@ class PartialString:
IndexError: tuple index out of range
If you don't have specific objects to index the holes with, and don't want
- to create artifical indexes as in the above examples, here is a slightly
+ to create artificial indexes as in the above examples, here is a slightly
simpler way of doing it:
>>> tmpl = PartialString.numl("{0} {1} {2}", 2, object())
@@ -375,7 +375,7 @@ class PartialString:
def numl(cls, fmtstr="", nargs=0, *holes):
"""Create a partial string with some implicit numeric holes.
- Useful in conjuction with PartialString.pformatl.
+ Useful in conjunction with PartialString.pformatl.
>>> PartialString.numl("{0}{1}{2}{3}", 3, "last object")
PartialString('{0}{1}{2}{3}', 0, 1, 2, 'last object')
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/bf334e1d83d5c1a0ccaa0da4f2d8ecaeb2f1b84d
--
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/bf334e1d83d5c1a0ccaa0da4f2d8ecaeb2f1b84d
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20230830/1af325ab/attachment.htm>
More information about the rb-commits
mailing list