From bc25ec78c14ab3070b4593adef7159b4a12792d4 Mon Sep 17 00:00:00 2001 From: pngwn Date: Thu, 25 Jan 2024 19:15:10 +0000 Subject: [PATCH] Cc publish docs (#7162) * changes * add changeset * lint * tweaks * fix guide formatting --------- Co-authored-by: gradio-pr-bot --- guides/05_custom-components/09_documenting-custom-components.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/05_custom-components/09_documenting-custom-components.md b/guides/05_custom-components/09_documenting-custom-components.md index 56963cf07928..dc077b2be4f4 100644 --- a/guides/05_custom-components/09_documenting-custom-components.md +++ b/guides/05_custom-components/09_documenting-custom-components.md @@ -67,7 +67,7 @@ Python type hints are used extensively to provide helpful information for users. What are type hints? -If you need to become more familiar with type hints in Python, they are a simple way to express what Python types are expected for arguments and return values of functions and methods. They provide a helpful in-editor experience, aid in maintenance, and integrate with various other tools. These types can be simple primitives, like `list` `str` `bool`; they could be more compound types like `list[str]`, `str | None` or `tuples[str, float | int`]`; or they can be more complex types using utility classed like [`TypedDict`](https://peps.python.org/pep-0589/#abstract). +If you need to become more familiar with type hints in Python, they are a simple way to express what Python types are expected for arguments and return values of functions and methods. They provide a helpful in-editor experience, aid in maintenance, and integrate with various other tools. These types can be simple primitives, like `list` `str` `bool`; they could be more compound types like `list[str]`, `str | None` or `tuple[str, float | int]`; or they can be more complex types using utility classed like [`TypedDict`](https://peps.python.org/pep-0589/#abstract). [Read more about type hints in Python.](https://realpython.com/lessons/type-hinting/)