Skip to content

Commit 20cfb92

Browse files
committed
Enum
1 parent a1a3b45 commit 20cfb92

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1306,7 +1306,7 @@ from functools import partial
13061306
LogicOp = Enum('LogicOp', {'AND': partial(lambda l, r: l and r),
13071307
'OR' : partial(lambda l, r: l or r)})
13081308
```
1309-
* **Another solution in this particular case, is to use `'and_'` and `'or_'` functions from module [Operator](#operator) as values.**
1309+
* **Another solution in this particular case, is to use `'and_'` and `'or_'` functions from module [Operator](#operator).**
13101310

13111311

13121312
Exceptions

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1211,7 +1211,7 @@ <h4 id="functionscannotbevaluessotheymustbewrapped">Functions can not be values,
12111211
<span class="hljs-string">'OR'</span> : partial(<span class="hljs-keyword">lambda</span> l, r: l <span class="hljs-keyword">or</span> r)})
12121212
</code></pre>
12131213
<ul>
1214-
<li><strong>Another solution in this particular case, is to use <code class="python hljs"><span class="hljs-string">'and_'</span></code> and <code class="python hljs"><span class="hljs-string">'or_'</span></code> functions from module <a href="#operator">Operator</a> as values.</strong></li>
1214+
<li><strong>Another solution in this particular case, is to use <code class="python hljs"><span class="hljs-string">'and_'</span></code> and <code class="python hljs"><span class="hljs-string">'or_'</span></code> functions from module <a href="#operator">Operator</a>.</strong></li>
12151215
</ul>
12161216
<h2 id="exceptions"><a href="#exceptions" name="exceptions">#</a>Exceptions</h2>
12171217
<h3 id="basicexample">Basic Example</h3>

0 commit comments

Comments
 (0)