MCPcopy Index your code
hub / github.com/csev/py4e / renderContents

Method renderContents

code3/bs4/element.py:1224–1229  ·  view source on GitHub ↗
(self, encoding=DEFAULT_OUTPUT_ENCODING,
                       prettyPrint=False, indentLevel=0)

Source from the content-addressed store, hash-verified

1222
1223 # Old method for BS3 compatibility
1224 def renderContents(self, encoding=DEFAULT_OUTPUT_ENCODING,
1225 prettyPrint=False, indentLevel=0):
1226 if not prettyPrint:
1227 indentLevel = None
1228 return self.encode_contents(
1229 indent_level=indentLevel, encoding=encoding)
1230
1231 #Soup methods
1232

Callers 1

Calls 1

encode_contentsMethod · 0.95

Tested by 1