Skip to content

Commit 5e1f8c0

Browse files
committed
also remove spec line
1 parent e3478f6 commit 5e1f8c0

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

docs/spec/generics.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,6 @@ class instance that does not have an instance attribute with the same name::
400400
Node[int].x # Error
401401
Node.x = 1 # Error
402402
Node.x # Error
403-
type(p).x # Error
404403
p.x # Ok (evaluates to int)
405404
Node[int]().x # Ok (evaluates to int)
406405
p.x = 1 # Ok, but assigning to instance attribute

0 commit comments

Comments
 (0)