Skip to content

Commit e474d12

Browse files
committed
Remove bad info from README files.
1 parent 7104a70 commit e474d12

File tree

2 files changed

+2
-27
lines changed

2 files changed

+2
-27
lines changed

README.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jsonLogic(True, data_will_be_ignored);
9999
# True
100100

101101
#Never
102-
jsonLogic(false, i_wasnt_even_supposed_to_be_here);
102+
jsonLogic(False, i_wasnt_even_supposed_to_be_here);
103103
# False
104104
```
105105

@@ -116,15 +116,3 @@ If that doesn't suit you, and you want to manage updates yourself, the entire li
116116
```bash
117117
curl -O https://raw.githubusercontent.com/nadirizr/json-logic-py/master/json_logic.py
118118
```
119-
120-
## Differences from the original [JavaScript version](https://github.com/jwadhams/json-logic-js)
121-
122-
The only difference is in the straightforward '==' and '===' comparison operators, since they have different expected behavior in Python than in JavaScript.
123-
124-
In JS:
125-
* '==' - Performs type coercion and compares.
126-
* '===' - Does not perform type coercion.
127-
128-
In Python:
129-
* '==' - Does not perform type coercion, compares using Pyton's __eq__ operator.
130-
* '===' - Does not perform type coercion, compares using Python's 'is' operator.

README.rst

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ non-associative-array, it is returned immediately.
132132
# True
133133
134134
#Never
135-
jsonLogic(false, i_wasnt_even_supposed_to_be_here);
135+
jsonLogic(False, i_wasnt_even_supposed_to_be_here);
136136
# False
137137
138138
Installation
@@ -153,16 +153,3 @@ download it straight into your project as you see fit.
153153
154154
curl -O https://raw.githubusercontent.com/nadirizr/json-logic-py/master/json_logic.py
155155
156-
Differences from the original `JavaScript version <https://github.com/jwadhams/json-logic-js>`__
157-
------------------------------------------------------------------------------------------------
158-
159-
The only difference is in the straightforward '==' and '===' comparison
160-
operators, since they have different expected behavior in Python than in
161-
JavaScript.
162-
163-
In JS: \* '==' - Performs type coercion and compares. \* '===' - Does
164-
not perform type coercion.
165-
166-
In Python: \* '==' - Does not perform type coercion, compares using
167-
Pyton's **eq** operator. \* '===' - Does not perform type coercion,
168-
compares using Python's 'is' operator.

0 commit comments

Comments
 (0)