Commit 94ca2113 authored by Raymond Hettinger's avatar Raymond Hettinger

Make Py3.x style "import builtins"

parent 4001847a
......@@ -95,8 +95,8 @@ The class can be used to simulate nested scopes and is useful in templating.
Example of simulating Python's internal lookup chain::
import __builtin__
pylookup = ChainMap(locals(), globals(), vars(__builtin__))
import builtins
pylookup = ChainMap(locals(), globals(), vars(builtins))
Example of letting user specified values take precedence over environment
variables which in turn take precedence over default values::
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment