# HG changeset patch # User Yuya Nishihara # Date 2017-10-12 12:56:13 # Node ID dbe1f51188641abd84f453be95c323fcc83dec3d # Parent bfb6fd93b63796f722e6fbe95819c4de74f011eb help: use single quotes in ``template example`` It was hard to read because ``""`` was rendered as """". diff --git a/mercurial/help/templates.txt b/mercurial/help/templates.txt --- a/mercurial/help/templates.txt +++ b/mercurial/help/templates.txt @@ -74,9 +74,9 @@ or a raw string prefix, ``r'...'``. 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 =======