@@ -83,11 +83,11 @@ Six provides constants that may differ between Python versions. Ones ending
8383
8484.. data :: MAXSIZE
8585
86- The maximum size of a container like :func: `py3:list ` or :func: `py3:dict `.
87- This is equivalent to :data: `py3:sys.maxsize ` in Python 2.6 and later
88- (including 3.x). Note, this is temptingly similar to, but not the same as
89- :data: `py2:sys.maxint ` in Python 2. There is no direct equivalent to
90- :data: `py2:sys.maxint ` in Python 3 because its integer type has no limits
86+ The maximum size of a container like :func: `py3:list ` or :func: `py3:dict `.
87+ This is equivalent to :data: `py3:sys.maxsize ` in Python 2.6 and later
88+ (including 3.x). Note, this is temptingly similar to, but not the same as
89+ :data: `py2:sys.maxint ` in Python 2. There is no direct equivalent to
90+ :data: `py2:sys.maxint ` in Python 3 because its integer type has no limits
9191 aside from memory.
9292
9393
@@ -440,19 +440,19 @@ string data in all Python versions.
440440.. function :: ensure_binary(s, encoding='utf-8', errors='strict')
441441
442442 Coerce *s * to :data: `binary_type `. *encoding *, *errors * are the same as
443- :meth: `py3:str.encode `
443+ :meth: `py3:str.encode `.
444444
445445
446446.. function :: ensure_str(s, encoding='utf-8', errors='strict')
447447
448448 Coerce *s * to ``str ``. *encoding *, *errors * are the same as
449- :meth: `py3:str.encode `
449+ :meth: `py3:str.encode `.
450450
451451
452452.. function :: ensure_text(s, encoding='utf-8', errors='strict')
453453
454454 Coerce *s * to :data: `text_type `. *encoding *, *errors * are the same as
455- :meth: `py3:bytes.decode `
455+ :meth: `py3:bytes.decode `.
456456
457457
458458.. data :: StringIO
@@ -568,7 +568,7 @@ functionality; its structure mimics the structure of the Python 3
568568 this problem for some applications by pretending attributes on unimportable
569569 modules do not exist. This hack does not work in every case, though. If you are
570570 encountering problems with the lazy modules and don't use any from imports
571- directly from ``six.moves `` modules, you can workaround the issue by removing
571+ directly from ``six.moves `` modules, you can work around the issue by removing
572572 the six proxy modules::
573573
574574 d = [name for name in sys.modules if name.startswith("six.moves.")]
@@ -864,7 +864,7 @@ It is possible to add additional names to the :mod:`six.moves` namespace.
864864
865865
866866Instances of the following classes can be passed to :func: `add_move `. Neither
867- have any public members.
867+ has any public members.
868868
869869
870870.. class :: MovedModule(name, old_mod, new_mod)
0 commit comments