Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/clips/pattern
/ end_tag
Method
end_tag
pattern/web/pdf/pdfdevice.py:165–169 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
163
return
164
165
def
end_tag(self):
166
assert self._stack
167
tag = self._stack.pop(-1)
168
self.outfp.write(
'</%s>'
% enc(tag.name))
169
return
170
171
def
do_tag(self, tag, props=None):
172
self.begin_tag(tag, props)
Callers
nothing calls this directly
Calls
3
enc
Function · 0.90
write
Method · 0.80
pop
Method · 0.45
Tested by
no test coverage detected