Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ Fubar
Class
Fubar
extra_tests/snippets/builtin_property.py:4–12 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2
3
4
class
Fubar:
5
def
__init__(self):
6
self.x = 100
7
8
@property
9
def
foo(self):
10
value = self.x
11
self.x += 1
12
return
value
13
14
15
f = Fubar()
Callers
1
builtin_property.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected