Skip to content

Commit e739ff1

Browse files
authored
Doc: No need to use rst syntax in code comments. (GH-93102)
And it raises `make suspicious` false positives.
1 parent 2176898 commit e739ff1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/whatsnew/3.11.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -314,15 +314,15 @@ transforms a class, giving it :func:`dataclasses.dataclass`-like behaviors.
314314

315315
For example::
316316

317-
# The ``create_model`` decorator is defined by a library.
317+
# The create_model decorator is defined by a library.
318318
@typing.dataclass_transform()
319319
def create_model(cls: Type[T]) -> Type[T]:
320320
cls.__init__ = ...
321321
cls.__eq__ = ...
322322
cls.__ne__ = ...
323323
return cls
324324

325-
# The ``create_model`` decorator can now be used to create new model
325+
# The create_model decorator can now be used to create new model
326326
# classes, like this:
327327
@create_model
328328
class CustomerModel:

0 commit comments

Comments
 (0)