Improve get_fslocation_from_item's docstring

This commit is contained in:
Bruno Oliveira
2018-09-04 11:48:11 -03:00
parent e9417be9df
commit 016f8f1536

View File

@@ -346,6 +346,7 @@ def get_fslocation_from_item(item):
"""Tries to extract the actual location from an item, depending on available attributes:
* "fslocation": a pair (path, lineno)
* "obj": a Python object that the item wraps.
* "fspath": just a path
:rtype: a tuple of (str|LocalPath, int) with filename and line number.