Skip to content

Commit 149e62b

Browse files
Add missing code block marker in generics.rst (#1785)
1 parent ff6bee3 commit 149e62b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/spec/generics.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1918,6 +1918,8 @@ Scoping Rules
19181918

19191919
Using a type parameter from an outer scope as a default is not supported.
19201920

1921+
::
1922+
19211923
class Foo(Generic[T1]):
19221924
class Bar(Generic[T2]): ... # Type Error
19231925

0 commit comments

Comments
 (0)