Skip to content

Commit 5fc0b30

Browse files
JustaSqu1dDorukyum
authored andcommitted
docs: minor InputText formatting issues (#2507)
1 parent 176ddb6 commit 5fc0b30

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

discord/ui/input_text.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class InputText:
3636
The maximum number of characters that can be entered.
3737
Must be between 1 and 4000.
3838
required: Optional[:class:`bool`]
39-
Whether the input text field is required or not. Defaults to `True`.
39+
Whether the input text field is required or not. Defaults to ``True``.
4040
value: Optional[:class:`str`]
4141
Pre-fills the input text field with this value.
4242
Must be 4000 characters or fewer.
@@ -151,7 +151,7 @@ def placeholder(self, value: str | None):
151151

152152
@property
153153
def min_length(self) -> int | None:
154-
"""The minimum number of characters that must be entered. Defaults to `0`."""
154+
"""The minimum number of characters that must be entered. Defaults to 0."""
155155
return self._underlying.min_length
156156

157157
@min_length.setter
@@ -177,7 +177,7 @@ def max_length(self, value: int | None):
177177

178178
@property
179179
def required(self) -> bool | None:
180-
"""Whether the input text field is required or not. Defaults to `True`."""
180+
"""Whether the input text field is required or not. Defaults to ``True``."""
181181
return self._underlying.required
182182

183183
@required.setter

0 commit comments

Comments
 (0)