Skip to content

Commit ea44aec

Browse files
committed
Update doc string
1 parent 8c9f37c commit ea44aec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bpython/simpleeval.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ def simple_eval(node_or_string, namespace=None):
7474
* variable names causing lookups in the passed in namespace or builtins
7575
* getitem calls using the [] syntax on objects of the types above
7676
77-
Like the Python 3 (and unlike the Python 2) literal_eval, unary and binary
78-
+ and - operations are allowed on all builtin numeric types.
77+
Like Python 3's literal_eval, unary and binary + and - operations are
78+
allowed on all builtin numeric types.
7979
80-
The optional namespace dict-like ought not to cause side effects on lookup
80+
The optional namespace dict-like ought not to cause side effects on lookup.
8181
"""
8282
if namespace is None:
8383
namespace = {}

0 commit comments

Comments
 (0)