diff Doc/library/string.rst @ 52379:da456f42ebe7 legacy-trunk

give os.symlink and os.link() better parameter names #5564
author Benjamin Peterson <benjamin@python.org>
date Sat, 28 Mar 2009 19:16:10 +0000
parents ccedef28fe04
children c30681c66b3f
line wrap: on
line diff
--- a/Doc/library/string.rst	Sat Mar 28 19:10:37 2009 +0000
+++ b/Doc/library/string.rst	Sat Mar 28 19:16:10 2009 +0000
@@ -243,6 +243,7 @@
 Some simple format string examples::
 
    "First, thou shalt count to {0}" # References first positional argument
+   "Bring me a {}"                  # Implicitly references the first positional argument
    "My quest is {name}"             # References keyword argument 'name'
    "Weight in tons {0.weight}"      # 'weight' attribute of first positional arg
    "Units destroyed: {players[0]}"  # First element of keyword argument 'players'.