tweak grammar in docs about fluent interfaces (#247)
...to make the sentence a bit easier to understand.
This commit is contained in:
parent
658eb7161d
commit
c7bc22388d
@ -380,7 +380,7 @@ decision = (maybe.this() and values > 0) or (maybe.that() and values < 0)
|
|||||||
|
|
||||||
Some popular APIs, like ORMs, use call chaining. This API style is known
|
Some popular APIs, like ORMs, use call chaining. This API style is known
|
||||||
as a [fluent interface](https://en.wikipedia.org/wiki/Fluent_interface).
|
as a [fluent interface](https://en.wikipedia.org/wiki/Fluent_interface).
|
||||||
*Black* formats those treating dots that follow a call or an indexing
|
*Black* formats those by treating dots that follow a call or an indexing
|
||||||
operation like a very low priority delimiter. It's easier to show the
|
operation like a very low priority delimiter. It's easier to show the
|
||||||
behavior than to explain it. Look at the example:
|
behavior than to explain it. Look at the example:
|
||||||
```py3
|
```py3
|
||||||
|
Loading…
Reference in New Issue
Block a user