changeset 34658:dbe1f5118864

help: use single quotes in ``template example`` It was hard to read because ``""`` was rendered as """".
author Yuya Nishihara <yuya@tcha.org>
date Thu, 12 Oct 2017 21:56:13 +0900
parents bfb6fd93b637
children 3edfd472f3cb
files mercurial/help/templates.txt
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/help/templates.txt	Thu Oct 12 21:48:02 2017 +0900
+++ b/mercurial/help/templates.txt	Thu Oct 12 21:56:13 2017 +0900
@@ -74,9 +74,9 @@
 
 The dot operator can be used as a shorthand for accessing a sub item:
 
-- ``expr.member`` is roughly equivalent to ``expr % "{member}"`` if ``expr``
+- ``expr.member`` is roughly equivalent to ``expr % '{member}'`` if ``expr``
   returns a non-list/dict. The returned value is not stringified.
-- ``dict.key`` is identical to ``get(dict, "key")``.
+- ``dict.key`` is identical to ``get(dict, 'key')``.
 
 Aliases
 =======