tweak grammar in docs about fluent interfaces (#247)

...to make the sentence a bit easier to understand.
This commit is contained in:
wouter bolsterlee 2018-05-22 17:54:28 +02:00 committed by Łukasz Langa
parent 658eb7161d
commit c7bc22388d

View File

@ -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