Fix #3427: autodoc: memory addresses are not stripped on Windows

This commit is contained in:
Takeshi KOMIYA 2017-02-17 12:21:04 +09:00
parent 387588a9d8
commit 79b7c468a9
2 changed files with 3 additions and 1 deletions

View File

@ -28,6 +28,8 @@ Bugs fixed
* #3399: quickstart: conf.py was not overwritten by template
* #3366: option directive does not allow punctuations
* #3410: return code in :confval:`release` breaks html search
* #3427: autodoc: memory addresses are not stripped on Windows
Testing
--------

View File

@ -20,7 +20,7 @@ from sphinx.util import force_decode
# relatively import this module
inspect = __import__('inspect')
memory_address_re = re.compile(r' at 0x[0-9a-f]{8,16}(?=>)')
memory_address_re = re.compile(r' at 0x[0-9a-f]{8,16}(?=>)', re.IGNORECASE)
if PY3: