From fb257ff866148a79bfe58ccaf7c98f499f8d8424 Mon Sep 17 00:00:00 2001 From: Hai Zhu <35182391+cocolato@users.noreply.github.com> Date: Tue, 6 Feb 2024 03:41:10 +0000 Subject: [PATCH] Fixes: #146 Closes: #387 Pull-request: https://github.com/sqlalchemy/mako/pull/387 Pull-request-sha: f816f1f1f3f614fb41f27dbaf45018c163dcae2d --- doc/build/unreleased/146.rst | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/build/unreleased/146.rst diff --git a/doc/build/unreleased/146.rst b/doc/build/unreleased/146.rst new file mode 100644 index 00000000..85ec87a8 --- /dev/null +++ b/doc/build/unreleased/146.rst @@ -0,0 +1,8 @@ +.. change:: + :tags: bug, codegen + :tickets: 146 + + Fixed unexpected error when use control lines which the + first control block with no bodies other than comments, + as `pass` is now added to the first empty block. + Pull request courtesy Hai Zhu.