Skip to content

Commit 307ec52

Browse files
authored
Fix incorrect typing of doc attribute of Module (#1357)
1 parent 7fa6e4d commit 307ec52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

astroid/nodes/scoped_nodes/scoped_nodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ class Module(LocalsDictNodeNG):
429429
def __init__(
430430
self,
431431
name: str,
432-
doc: str,
432+
doc: Optional[str],
433433
file: Optional[str] = None,
434434
path: Optional[List[str]] = None,
435435
package: Optional[bool] = None,

0 commit comments

Comments
 (0)