From fdf3f2b9ac0d17a4a02f58134908b477f60ff3d2 Mon Sep 17 00:00:00 2001 From: Matheson Steplock Date: Mon, 17 Oct 2022 16:16:07 -0400 Subject: [PATCH] Switch to markdown link (#24607) --- source/_docs/configuration/templating.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_docs/configuration/templating.markdown b/source/_docs/configuration/templating.markdown index 8fd9bd0aecb..871f7d22927 100644 --- a/source/_docs/configuration/templating.markdown +++ b/source/_docs/configuration/templating.markdown @@ -715,7 +715,7 @@ Like `float` and `int`, `bool` has a filter form. Using `none` as the default va These functions are used to process raw value's in a `bytes` format to values in a native Python type or vice-versa. The `pack` and `unpack` functions can also be used as a filter. They make use of the Python 3 `struct` library. -See: https://docs.python.org/3/library/struct.html +See: [Python struct library documentation](https://docs.python.org/3/library/struct.html) - Filter `value | pack(format_string)` will convert a native type to a `bytes` type object. This will call function `struct.pack(format_string, value)`. Returns `None` if an error occurs or when `format_string` is invalid. - Function `pack(value, format_string)` will convert a native type to a `bytes` type object. This will call function `struct.pack(format_string, value)`. Returns `None` if an error occurs or when `format_string` is invalid.