fastcore 2.2.31__tar.gz → 2.2.32__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {fastcore-2.2.31/fastcore.egg-info → fastcore-2.2.32}/PKG-INFO +1 -1
- {fastcore-2.2.31 → fastcore-2.2.32}/fastcore/__init__.py +1 -1
- {fastcore-2.2.31 → fastcore-2.2.32}/fastcore/docments.py +2 -2
- {fastcore-2.2.31 → fastcore-2.2.32/fastcore.egg-info}/PKG-INFO +1 -1
- {fastcore-2.2.31 → fastcore-2.2.32}/CONTRIBUTING.md +0 -0
- {fastcore-2.2.31 → fastcore-2.2.32}/LICENSE +0 -0
- {fastcore-2.2.31 → fastcore-2.2.32}/README.md +0 -0
- {fastcore-2.2.31 → fastcore-2.2.32}/fastcore/_modidx.py +0 -0
- {fastcore-2.2.31 → fastcore-2.2.32}/fastcore/aio.py +0 -0
- {fastcore-2.2.31 → fastcore-2.2.32}/fastcore/all.py +0 -0
- {fastcore-2.2.31 → fastcore-2.2.32}/fastcore/ansi.py +0 -0
- {fastcore-2.2.31 → fastcore-2.2.32}/fastcore/apisurface.py +0 -0
- {fastcore-2.2.31 → fastcore-2.2.32}/fastcore/basics.py +0 -0
- {fastcore-2.2.31 → fastcore-2.2.32}/fastcore/dispatch.py +0 -0
- {fastcore-2.2.31 → fastcore-2.2.32}/fastcore/docscrape.py +0 -0
- {fastcore-2.2.31 → fastcore-2.2.32}/fastcore/editskill.py +0 -0
- {fastcore-2.2.31 → fastcore-2.2.32}/fastcore/foundation.py +0 -0
- {fastcore-2.2.31 → fastcore-2.2.32}/fastcore/funccall.py +0 -0
- {fastcore-2.2.31 → fastcore-2.2.32}/fastcore/imghdr.py +0 -0
- {fastcore-2.2.31 → fastcore-2.2.32}/fastcore/imports.py +0 -0
- {fastcore-2.2.31 → fastcore-2.2.32}/fastcore/meta.py +0 -0
- {fastcore-2.2.31 → fastcore-2.2.32}/fastcore/nb_imports.py +0 -0
- {fastcore-2.2.31 → fastcore-2.2.32}/fastcore/nbio.py +0 -0
- {fastcore-2.2.31 → fastcore-2.2.32}/fastcore/net.py +0 -0
- {fastcore-2.2.31 → fastcore-2.2.32}/fastcore/parallel.py +0 -0
- {fastcore-2.2.31 → fastcore-2.2.32}/fastcore/py2pyi.py +0 -0
- {fastcore-2.2.31 → fastcore-2.2.32}/fastcore/script.py +0 -0
- {fastcore-2.2.31 → fastcore-2.2.32}/fastcore/shutil.py +0 -0
- {fastcore-2.2.31 → fastcore-2.2.32}/fastcore/style.py +0 -0
- {fastcore-2.2.31 → fastcore-2.2.32}/fastcore/test.py +0 -0
- {fastcore-2.2.31 → fastcore-2.2.32}/fastcore/tools.py +0 -0
- {fastcore-2.2.31 → fastcore-2.2.32}/fastcore/transform.py +0 -0
- {fastcore-2.2.31 → fastcore-2.2.32}/fastcore/utils.py +0 -0
- {fastcore-2.2.31 → fastcore-2.2.32}/fastcore/xdg.py +0 -0
- {fastcore-2.2.31 → fastcore-2.2.32}/fastcore/xml.py +0 -0
- {fastcore-2.2.31 → fastcore-2.2.32}/fastcore/xtras.py +0 -0
- {fastcore-2.2.31 → fastcore-2.2.32}/fastcore.egg-info/SOURCES.txt +0 -0
- {fastcore-2.2.31 → fastcore-2.2.32}/fastcore.egg-info/dependency_links.txt +0 -0
- {fastcore-2.2.31 → fastcore-2.2.32}/fastcore.egg-info/entry_points.txt +0 -0
- {fastcore-2.2.31 → fastcore-2.2.32}/fastcore.egg-info/requires.txt +0 -0
- {fastcore-2.2.31 → fastcore-2.2.32}/fastcore.egg-info/top_level.txt +0 -0
- {fastcore-2.2.31 → fastcore-2.2.32}/pyproject.toml +0 -0
- {fastcore-2.2.31 → fastcore-2.2.32}/setup.cfg +0 -0
|
@@ -44,7 +44,7 @@ def docstring(sym):
|
|
|
44
44
|
if isinstance(sym, partial): return docstring(sym.func)
|
|
45
45
|
if _callable_instance(sym):
|
|
46
46
|
own = inspect.getattr_static(sym, '__doc__', None)
|
|
47
|
-
if own is not getattr(type(sym), '__doc__', None): return getdoc(sym) or ''
|
|
47
|
+
if isinstance(own, property) or own is not getattr(type(sym), '__doc__', None): return getdoc(sym) or ''
|
|
48
48
|
return getdoc(sym.__call__) or getdoc(sym) or ''
|
|
49
49
|
res = getdoc(sym)
|
|
50
50
|
if not getattr(sym, '__doc__', None) and res == object.__init__.__doc__: res = None
|
|
@@ -183,7 +183,7 @@ def docments(s, full=False, eval_str=False, returns=True, args_kwargs=False):
|
|
|
183
183
|
except (ValueError, TypeError): return AttrDict()
|
|
184
184
|
nps = parse_docstring(s)
|
|
185
185
|
docs = {}
|
|
186
|
-
while s:
|
|
186
|
+
while s is not None:
|
|
187
187
|
p = _param_locs(s, returns=returns, args_kwargs=args_kwargs) or {}
|
|
188
188
|
c = {o.start[0]:_clean_comment(o.string) for o in _tokens(s) if o.type==COMMENT}
|
|
189
189
|
for k,v in p.items():
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|