Skip to content

deleting attribute or item does not remove attribute #24

@orlof

Description

@orlof

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions