Skip to content

Commit b1c9969

Browse files
Resolve Typo in documentation. (#2444)
* Resolve Typo in documentation. * Add newsfragment for doc fix Co-authored-by: kclowes <[email protected]>
1 parent eb8edd6 commit b1c9969

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/filters.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ will return a new :class:`BlockFilter` object.
112112
``TransactionFilter`` is a subclass of :class:`Filter`.
113113

114114
You can setup a filter for new blocks using ``web3.eth.filter('pending')`` which
115-
will return a new :class:`BlockFilter` object.
115+
will return a new :class:`TransactionFilter` object.
116116

117117
.. code-block:: python
118118

newsfragments/2444.doc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Doc fix: Pending transaction filter returns a ``TransactionFilter`` not a ``BlockFilter``

0 commit comments

Comments
 (0)