We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 026db1b commit 38272b4Copy full SHA for 38272b4
2 files changed
docx/api.py
@@ -76,10 +76,7 @@ def core_properties(self):
76
77
@property
78
def inline_shapes(self):
79
- """
80
- Return a reference to the |InlineShapes| instance for this document.
81
82
- return self._document_part.inline_shapes
+ return self._document.inline_shapes
83
84
@lazyproperty
85
def numbering_part(self):
tests/test_api.py
@@ -87,10 +87,6 @@ def Package_(self, request):
87
88
class DescribeDocumentOld(object):
89
90
- def it_provides_access_to_the_document_inline_shapes(self, document):
91
- body = document.inline_shapes
92
- assert body is document._document_part.inline_shapes
93
-
94
def it_provides_access_to_the_document_paragraphs(
95
self, paragraphs_fixture):
96
document, paragraphs_ = paragraphs_fixture
0 commit comments