mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-10-12 16:32:10 -05:00
Fix #3427: autodoc: memory addresses are not stripped on Windows
This commit is contained in:
1 parent
387588a9d8
commit
79b7c468a9
2 files changed
+3
-1
No files matched your search
@@ -28,6 +28,8 @@ Bugs fixed
|
|||||||
* #3399: quickstart: conf.py was not overwritten by template
|
* #3399: quickstart: conf.py was not overwritten by template
|
||||||
* #3366: option directive does not allow punctuations
|
* #3366: option directive does not allow punctuations
|
||||||
* #3410: return code in :confval:`release` breaks html search
|
* #3410: return code in :confval:`release` breaks html search
|
||||||
|
* #3427: autodoc: memory addresses are not stripped on Windows
|
||||||
|
|
||||||
|
|
||||||
Testing
|
Testing
|
||||||
--------
|
--------
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ from sphinx.util import force_decode
|
|||||||
# relatively import this module
|
# relatively import this module
|
||||||
inspect = __import__('inspect')
|
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:
|
if PY3:
|
||||||
|
|||||||
Reference in new issue
Block a user