File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -468,7 +468,7 @@ of the above sections.
468468.. option :: --allow-redefinition
469469
470470 By default, mypy won't allow a variable to be redefined with an
471- unrelated type. This flag enables redefinion of a variable with an
471+ unrelated type. This flag enables redefinition of a variable with an
472472 arbitrary type *in some contexts *: only redefinitions within the
473473 same block and nesting depth as the original definition are allowed.
474474 Example where this can be useful:
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ flagged as an error.
7272 e.g. the :py:func: `pow ` builtin returns ``Any `` (see `typeshed issue 285
7373 <https://github.com/python/typeshed/issues/285> `_ for the reason).
7474
75- - ** :py:meth:`__init__ <object.__init__>` method has no annotated
75+ - :py:meth: `__init__ <object.__init__> ` ** method has no annotated
7676 arguments or return type annotation. ** :py:meth: `__init__ <object.__init__> `
7777 is considered fully-annotated **if at least one argument is annotated **,
7878 while mypy will infer the return type as ``None ``.
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ Configuring mypy to use plugins
7070
7171Plugins are Python files that can be specified in a mypy
7272:ref: `config file <config-file >` using one of the two formats: relative or
73- absolute path to the plugin to the plugin file, or a module name (if the plugin
73+ absolute path to the plugin file, or a module name (if the plugin
7474is installed using ``pip install `` in the same virtual environment where mypy
7575is running). The two formats can be mixed, for example:
7676
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ override a read-only property:
138138 class Derived (Base ):
139139 ID : Final = 1 # OK
140140
141- Declaring a name as final only guarantees that the name wll not be re-bound
141+ Declaring a name as final only guarantees that the name will not be re-bound
142142to another value. It doesn't make the value immutable. You can use immutable ABCs
143143and containers to prevent mutating such values:
144144
You can’t perform that action at this time.
0 commit comments