Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ sub
Method
sub
recipes/Python/59884_RPN_Stack_class/recipe-59884.py:163–165 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
161
self.pop(2); self.push(newx)
162
163
def
sub(self):
164
newx = self.gety() - self.getx()
165
self.pop(2); self.push(newx)
166
167
def
mul(self):
168
newx = self.gety() * self.getx()
Callers
15
find_replace
Function · 0.45
compress
Method · 0.45
cjkwrap
Function · 0.45
readline
Method · 0.45
_name_mangle
Function · 0.45
convert_template
Function · 0.45
search
Method · 0.45
repos
Function · 0.45
copyblock
Method · 0.45
apply_rules
Function · 0.45
RenameFile
Function · 0.45
push
Method · 0.45
Calls
4
gety
Method · 0.95
getx
Method · 0.95
pop
Method · 0.45
push
Method · 0.45
Tested by
no test coverage detected