From 600dedcc1ace263ce513d48663784a6b8b62040a Mon Sep 17 00:00:00 2001 From: Ram Rachum Date: Fri, 3 May 2019 18:58:53 +0300 Subject: [PATCH] Fix docs --- README.md | 4 ++-- pysnooper/__init__.py | 2 +- pysnooper/pysnooper.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 586be94..85f176c 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ See values of some expressions that aren't local variables: Expand values to see all their attributes or items of lists/dictionaries: ```python -@pysnooper.snoop(exploding_variables=('foo', 'self')) +@pysnooper.snoop(watch_explode=('foo', 'self')) ``` (see [Advanced Usage](#advanced-usage) for more control) @@ -109,7 +109,7 @@ $ pip install pysnooper # Advanced Usage # -`exploding_variables` will automatically guess how to expand the expression passed to it based on its class. You can be more specific by using one of the following classes: +`watch_explode` will automatically guess how to expand the expression passed to it based on its class. You can be more specific by using one of the following classes: ```python import pysnooper diff --git a/pysnooper/__init__.py b/pysnooper/__init__.py index 05156d3..4944847 100644 --- a/pysnooper/__init__.py +++ b/pysnooper/__init__.py @@ -8,7 +8,7 @@ import collections __VersionInfo = collections.namedtuple('VersionInfo', ('major', 'minor', 'micro')) -__version__ = '0.0.27' +__version__ = '0.0.28' __version_info__ = __VersionInfo(*(map(int, __version__.split('.')))) del collections, __VersionInfo # Avoid polluting the namespace diff --git a/pysnooper/pysnooper.py b/pysnooper/pysnooper.py index cebfd51..94625e6 100644 --- a/pysnooper/pysnooper.py +++ b/pysnooper/pysnooper.py @@ -61,7 +61,7 @@ def snoop(output=None, watch=(), watch_explode=(), depth=1, Expand values to see all their attributes or items of lists/dictionaries: - @pysnooper.snoop(exploding_variables=('foo', 'self')) + @pysnooper.snoop(watch_explode=('foo', 'self')) (see Advanced Usage in the README for more control)