diff --git a/README.md b/README.md index 91b79a2..09df393 100644 --- a/README.md +++ b/README.md @@ -2090,9 +2090,9 @@ Introspection ### Variables ```python - = dir() # Returns names of variables in current scope. - = locals() # Returns dict of local variables. Also vars(). - = globals() # Returns dict of global variables. + = dir() # Returns names of variables in current scope. + = locals() # Returns dict of local variables. Also vars(). + = globals() # Returns dict of global variables. ``` ### Attributes diff --git a/index.html b/index.html index f036ce6..9fa99f3 100644 --- a/index.html +++ b/index.html @@ -1830,9 +1830,9 @@ product_of_elems = functools.reduce(op.mul, <collection>) LogicOp = enum.Enum('LogicOp', {'AND': op.and_, 'OR' : op.or_}) last_el = op.methodcaller('pop')(<list>) -

#Introspection

Inspecting code at runtime.

Variables

<list> = dir()                                # Returns names of variables in current scope.
-<dict> = locals()                             # Returns dict of local variables. Also vars().
-<dict> = globals()                            # Returns dict of global variables.
+

#Introspection

Inspecting code at runtime.

Variables

<list> = dir()                       # Returns names of variables in current scope.
+<dict> = locals()                    # Returns dict of local variables. Also vars().
+<dict> = globals()                   # Returns dict of global variables.