From b1a1d3730aa30d00bef39a5ec494067ad9af1aeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Sun, 15 Sep 2019 23:45:59 +0200 Subject: [PATCH] Enum --- README.md | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6a6bb8d..7124bde 100644 --- a/README.md +++ b/README.md @@ -1327,7 +1327,7 @@ from functools import partial LogicOp = Enum('LogicOp', {'AND': partial(lambda l, r: l and r), 'OR' : partial(lambda l, r: l or r)}) ``` -* **Another solution in this particular case, is to use `'and_'` and `'or_'` functions from module [Operator](#operator).** +* **Another solution in this particular case, is to use `'and_'` and `'or_'` functions from module [operator](#operator).** Exceptions diff --git a/index.html b/index.html index d9eec49..d89d27e 100644 --- a/index.html +++ b/index.html @@ -1246,7 +1246,7 @@ LogicOp = Enum('LogicOp', {'and_' and 'or_' functions from module Operator. +
  • Another solution in this particular case, is to use 'and_' and 'or_' functions from module operator.
  • #Exceptions

    Basic Example

    try:
         <code>