Skip to content

Commit 9babf90

Browse files
committed
Fix link to string format examples
1 parent 29012c9 commit 9babf90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@
307307
'raining {arg1} and {arg2}'.format(arg1='cats', arg2='dogs') # named arguments
308308

309309
# string formatting
310-
# more examples: https://mkaz.tech/python-string-format.html
310+
# more examples: https://mkaz.blog/code/python-string-format-cookbook/
311311
'pi is {:.2f}'.format(3.14159) # returns 'pi is 3.14'
312312

313313
# normal strings versus raw strings

0 commit comments

Comments
 (0)