diff --git a/docs/topics/forms/media.txt b/docs/topics/forms/media.txt
index 7c7c0310ec..09184fe15f 100644
--- a/docs/topics/forms/media.txt
+++ b/docs/topics/forms/media.txt
@@ -262,7 +262,7 @@ operator to filter out a medium of interest. For example::
- >>> print(w.media)['css']
+ >>> print(w.media['css'])
When you use the subscript operator, the value that is returned is a