dotwiz icon indicating copy to clipboard operation
dotwiz copied to clipboard

deleting attribute or item does not remove attribute

Open orlof opened this issue 1 year ago • 1 comments

Version

0.4.0

Python

Python 3.9.16

Description

I ran this code:

from dotwiz import DotWiz

d = DotWiz()
d.a = 1
del d.a
print(d.a)

I expected to see this happen: AttributeError: 'DotWiz' object has no attribute 'b'

Instead, this happened: 1

Context

I am not sure if assignments or deletes are even supported as the docs only show creation and access examples.

orlof avatar Feb 17 '23 10:02 orlof