help: use single quotes in ``template example``
authorYuya Nishihara <yuya@tcha.org>
Thu, 12 Oct 2017 21:56:13 +0900
changeset 34658 dbe1f5118864
parent 34657 bfb6fd93b637
child 34659 3edfd472f3cb
help: use single quotes in ``template example`` It was hard to read because ``""`` was rendered as """".
mercurial/help/templates.txt
--- 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
 =======