From 9631d9acdf3a217806d297de38378f19652e26dc Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Sat, 22 Jul 2023 15:55:11 -0700 Subject: [PATCH] Documentation tweaks --- docs/plugins.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/plugins.rst b/docs/plugins.rst index 34017a7..768af26 100644 --- a/docs/plugins.rst +++ b/docs/plugins.rst @@ -116,9 +116,6 @@ This hook is called when a new SQLite database connection is created. You can use it to `register custom SQL functions `_, aggregates and collations. For example: - -Example implementation: - .. code-block:: python import click @@ -134,4 +131,5 @@ This registers a SQL function called ``hello`` which takes a single argument and can be called like this:: .. code-block:: sql + select hello("world"); -- "Hello, world!"