Browse Source

Fixed #20772 -- Fixed minor typo in form media docs.

Loic Bistuer 11 years ago
parent
commit
aa41eb9b8b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/topics/forms/media.txt

+ 1 - 1
docs/topics/forms/media.txt

@@ -262,7 +262,7 @@ operator to filter out a medium of interest. For example::
     <script type="text/javascript" src="http://static.example.com/animations.js"></script>
     <script type="text/javascript" src="http://static.example.com/actions.js"></script>
 
-    >>> print(w.media)['css']
+    >>> print(w.media['css'])
     <link href="http://static.example.com/pretty.css" type="text/css" media="all" rel="stylesheet" />
 
 When you use the subscript operator, the value that is returned is a