Commit Graph
4 Commits
Author SHA1 Message Date
Lilian Besson e5a0e2ce05 htps:// → https:// default project URL 2019-03-11 15:33:08 +01:00
Lilian Besson 21fa15be2c Update apidoc.py
See #4712
2018-03-06 16:37:46 +01:00
Lilian Besson 2a4a6d0cda Union[unicode, None] → unicode 2017-03-10 22:56:36 +01:00
Lilian Besson c7c4f8f0f4 Prevent a TypeError bug for get_full_modname()
It prevents this bug:
```python
viewcode can't import None, failed with error "__import__() argument 1 must be str, not None"
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/sphinx/ext/viewcode.py", line 28, in _get_full_modname
    return get_full_modname(modname, attribute)
  File "/usr/local/lib/python3.5/dist-packages/sphinx/util/__init__.py", line 263, in get_full_modname
    __import__(modname)
TypeError: __import__() argument 1 must be str, not None
```
2017-03-10 10:04:13 +01:00