Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.6.x] Fixed #20772 -- Fixed minor typo in form media docs.

Backport of aa41eb9 from master
  • Loading branch information...
commit b7556a4980bb632059cdc1f1286507528c3e01ce 1 parent c660f0e
Loïc Bistuer loic authored timgraham committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/topics/forms/media.txt
2  docs/topics/forms/media.txt
View
@@ -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.