We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14426e2 commit 9dc80bcCopy full SHA for 9dc80bc
docs/spec/annotations.rst
@@ -367,7 +367,7 @@ with a type variable. In this case the return type may use the same
367
type variable, thus making that method a generic function. For example::
368
369
class Copyable:
370
- def copy[T: 'Copyable'](self: T) -> T:
+ def copy[T: Copyable](self: T) -> T:
371
# return a copy of self
372
373
class C(Copyable): ...
0 commit comments