From 8362ddd107958eb245ea08e6d41ca5835636e5da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Andrei=20Minc=C4=83?= Date: Wed, 28 Feb 2018 15:28:38 +0200 Subject: [PATCH] clarify the slicing example (#36842) As stated by fellow contributors, update the slicing example Resolves: Related: #36625 Signed-off-by: Daniel Andrei Minca --- docs/docsite/rst/user_guide/intro_patterns.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docsite/rst/user_guide/intro_patterns.rst b/docs/docsite/rst/user_guide/intro_patterns.rst index 33845aea0e..3dca1a4bf5 100644 --- a/docs/docsite/rst/user_guide/intro_patterns.rst +++ b/docs/docsite/rst/user_guide/intro_patterns.rst @@ -81,8 +81,8 @@ You can refer to hosts within the group by adding a subscript to the group name: webservers[0] # == cobweb webservers[-1] # == weber - webservers[0:1] # == webservers[0] - # == cobweb + webservers[0:2] # == webservers[0],webservers[1] + # == cobweb,webbing webservers[1:] # == webbing,weber webservers[:3] # == cobweb,webbing,weber