Skip to content

Commit 98b2b04

Browse files
committed
Update object formatting example text
1 parent c7cffdc commit 98b2b04

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/test_content.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -488,9 +488,10 @@ def test_custom_1():
488488
"""
489489
# Custom objects
490490
491-
The above example works through the use of the `__format__()` magic method.
492-
You can define custom format handling in your own objects by overriding
493-
this method. This gives you complete control over the format syntax used.
491+
The datetime example works through the use of the `__format__()` magic
492+
method. You can define custom format handling in your own objects by
493+
overriding this method. This gives you complete control over the format
494+
syntax used.
494495
"""
495496

496497
class HAL9000(object):

0 commit comments

Comments
 (0)