Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/drgrib/dotmap
/ pprint
Method
pprint
dotmap/__init__.py:146–150 ·
view source on GitHub ↗
(self, pformat='dict')
Source
from the content-addressed store, hash-verified
144
return
d
145
146
def
pprint(self, pformat=
'dict'
):
147
if
pformat ==
'json'
:
148
print(dumps(self.toDict(), indent=4, sort_keys=True))
149
else
:
150
pprint(self.toDict())
151
152
def
empty(self):
153
return
(not any(self))
Callers
1
__init__.py
File · 0.80
Calls
1
toDict
Method · 0.95
Tested by
no test coverage detected