MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / _Stack

Class _Stack

_pydevd_bundle/pydevd_code_to_source.py:17–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15
16
17class _Stack(object):
18 def __init__(self):
19 self._contents = []
20
21 def push(self, obj):
22 # print('push', obj)
23 self._contents.append(obj)
24
25 def pop(self):
26 return self._contents.pop(-1)
27
28
29INDENT_MARKER = object()

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected