Skip to content

Commit 6957e4a

Browse files
committed
Use new typographic branding in the last rst file, too
1 parent 1bb2864 commit 6957e4a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/api.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ API Reference
33

44
.. currentmodule:: attr
55

6-
``attrs`` works by decorating a class using `attrs.define` or `attr.s` and then optionally defining attributes on the class using `attrs.field`, `attr.ib`, or a type annotation.
6+
*attrs* works by decorating a class using `attrs.define` or `attr.s` and then optionally defining attributes on the class using `attrs.field`, `attr.ib`, or a type annotation.
77

88
If you're confused by the many names, please check out `names` for clarification.
99

1010
What follows is the API explanation, if you'd like a more hands-on introduction, have a look at `examples`.
1111

12-
As of version 21.3.0, ``attrs`` consists of **two** top-level package names:
12+
As of version 21.3.0, *attrs* consists of **two** top-level package names:
1313

1414
- The classic ``attr`` that powered the venerable `attr.s` and `attr.ib`
1515
- The modern ``attrs`` that only contains most modern APIs and relies on `attrs.define` and `attrs.field` to define your classes.
@@ -124,7 +124,7 @@ Classic
124124

125125
.. note::
126126

127-
``attrs`` also comes with a serious-business alias ``attr.attrs``.
127+
*attrs* also comes with a serious-business alias ``attr.attrs``.
128128

129129
For example:
130130

@@ -164,7 +164,7 @@ Classic
164164

165165
.. note::
166166

167-
``attrs`` also comes with a serious-business alias ``attr.attrib``.
167+
*attrs* also comes with a serious-business alias ``attr.attrib``.
168168

169169
The object returned by `attr.ib` also allows for setting the default and the validator using decorators:
170170

@@ -228,7 +228,7 @@ That means that it doesn't matter from from which namespace they've been raised
228228
Helpers
229229
-------
230230

231-
``attrs`` comes with a bunch of helper methods that make working with it easier:
231+
*attrs* comes with a bunch of helper methods that make working with it easier:
232232

233233
.. autofunction:: attrs.cmp_using
234234
.. function:: attr.cmp_using
@@ -357,7 +357,7 @@ Helpers
357357
.. autofunction:: attr.astuple
358358

359359

360-
``attrs`` includes some handy helpers for filtering the attributes in `attrs.asdict` and `attrs.astuple`:
360+
*attrs* includes some handy helpers for filtering the attributes in `attrs.asdict` and `attrs.astuple`:
361361

362362
.. autofunction:: attrs.filters.include
363363

@@ -440,7 +440,7 @@ Validators can be globally disabled if you want to run them only in development
440440
Validators
441441
----------
442442

443-
``attrs`` comes with some common validators in the ``attrs.validators`` module.
443+
*attrs* comes with some common validators in the ``attrs.validators`` module.
444444
All objects from ``attrs.validators`` are also available from ``attr.validators``.
445445

446446

0 commit comments

Comments
 (0)