Do Lists support `allow_None`?
Open
type-bug
- Dominant language
- Python
- Stars
- 521
- Forks
- 86
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 35
Description
The [docs on Lists](https://param.holoviz.org/user_guide/Parameter_Types.html#lists) say that:
> Because List parameters already have an empty value ([]), they do not support `allow_None`.
However that appears to be not quite true? Is that a documentation issue?
```python
import param
class P(param.Parameterized):
l = param.List(allow_None=True)
p = P()
print(p.l, p.param.l.allow_None)
# [] True
p.l = None
assert p.l is None
```
Contributor guide
Assessment
This issue has not been assessed yet.