Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #1378 from loic/docs

Fixed #20772 -- Fixed minor typo in form media docs.
  • Loading branch information...
commit 46699862289528f2bf0ff6c299c66b75bf4f37ce 2 parents 2fc6c94 + aa41eb9
@timgraham timgraham authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/topics/forms/media.txt
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.