Skip to content

Commit 33a77dc

Browse files
committed
update api docs for name change
1 parent 2a99c3c commit 33a77dc

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

libtmux/common.py

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -257,10 +257,8 @@ class TmuxRelationalObject(object):
257257
def find_where(self, attrs):
258258
"""Return object on first match.
259259
260-
Based on `.find_where()`_ from `underscore.js`_.
261-
262-
.. _.find_where(): http://underscorejs.org/#find_where
263-
.. _underscore.js: http://underscorejs.org/
260+
:versionchanged: 0.4
261+
Renamed from ``.findWhere`` to ``.find_where``.
264262
265263
"""
266264
try:
@@ -271,11 +269,6 @@ def find_where(self, attrs):
271269
def where(self, attrs, first=False):
272270
"""Return objects matching child objects properties.
273271
274-
Based on `.where()`_ from `underscore.js`_.
275-
276-
.. _.where(): http://underscorejs.org/#where
277-
.. _underscore.js: http://underscorejs.org/
278-
279272
:param attrs: tmux properties to match
280273
:type attrs: dict
281274
:rtype: list

0 commit comments

Comments
 (0)