Skip to content
Snippets Groups Projects
Commit 90c24ad3 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

docs fixes

parent e385603b
No related branches found
No related tags found
No related merge requests found
Pipeline #63325 failed with stages
in 35 seconds
=========
Optionals
=========
......
==========
Predicates
==========
......@@ -7,15 +6,15 @@ Satella's API drastically simplifies writing lambda.
Satella lets you express lambdas in a Pythonic way, eg:
::
.. code-block:: python
p = x == 2
p = x == 2
assert(p(2) and not p(1))
assert(p(2) and not p(1))
p = x > 2
p = x > 2
assert(p(2) and not p(1))
assert(p(2) and not p(1))
This behaviour extends to operators, item procurement and attr procurement.
......
==========
Structures
==========
......@@ -8,6 +7,7 @@ Structures
You can also use the following singleton.
.. code-block:: python
from satella.coding.structures import NOT_EQUAL_TO_ANYTHING
assert NOT_EQUAL_TO_ANYTHING != NOT_EQUAL_TO_ANYTHING
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment