From 9cc90362d00d3962ca653ef9aeb5d44a17dfadca Mon Sep 17 00:00:00 2001 From: Kodi Arfer Date: Wed, 11 Jul 2018 11:24:19 -0700 Subject: [PATCH] Docs: string literal prefixes must be in lowercase --- docs/language/syntax.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/language/syntax.rst b/docs/language/syntax.rst index ea089d6..3e28ac6 100644 --- a/docs/language/syntax.rst +++ b/docs/language/syntax.rst @@ -67,6 +67,8 @@ of bytes. So when running under Python 3, Hy translates ``"foo"`` and ``"foo"`` is translated to ``u"foo"`` and ``b"foo"`` is translated to ``"foo"``. +Unlike Python, Hy only recognizes string prefixes (``r``, etc.) in lowercase. + .. _syntax-keywords: keywords