diff --git a/docs/conf.py b/docs/conf.py index 4900acb0..3ea0b382 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -47,7 +47,7 @@ def skip_builtin_methods(app, what, name, obj, skip, options): """Skip documentation of builtin methods.""" - if what != "method": + if what not in ("method", "function"): return skip try: obj.__objclass__