| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -116,7 +116,7 @@ def test_intresult(self): | |||
| 116 | 116 | self.assertEqual(result, 21) | |
| 117 | 117 | self.assertEqual(type(result), int) | |
| 118 | 118 | ||
| 119 | - # You cannot assing character format codes as restype any longer | ||
| 119 | + # You cannot assign character format codes as restype any longer | ||
| 120 | 120 | self.assertRaises(TypeError, setattr, f, "restype", "i") | |
| 121 | 121 | ||
| 122 | 122 | def test_floatresult(self): | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5710,7 +5710,7 @@ def _parse_format_specifier(format_spec, _localeconv=None): | |||
| 5710 | 5710 | ||
| 5711 | 5711 | def _format_align(sign, body, spec): | |
| 5712 | 5712 | """Given an unpadded, non-aligned numeric string 'body' and sign | |
| 5713 | - string 'sign', add padding and aligment conforming to the given | ||
| 5713 | + string 'sign', add padding and alignment conforming to the given | ||
| 5714 | 5714 | format specifier dictionary 'spec' (as produced by | |
| 5715 | 5715 | parse_format_specifier). | |
| 5716 | 5716 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -17,7 +17,7 @@ def __init__(self, _data, _subtype='octet-stream', | |||
| 17 | 17 | _encoder=encoders.encode_base64, **_params): | |
| 18 | 18 | """Create an application/* type MIME document. | |
| 19 | 19 | ||
| 20 | - _data is a string containing the raw applicatoin data. | ||
| 20 | + _data is a string containing the raw application data. | ||
| 21 | 21 | ||
| 22 | 22 | _subtype is the MIME content type subtype, defaulting to | |
| 23 | 23 | 'octet-stream'. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -298,7 +298,7 @@ def _parse(self, fp): | |||
| 298 | 298 | # Note: we unconditionally convert both msgids and msgstrs to | |
| 299 | 299 | # Unicode using the character encoding specified in the charset | |
| 300 | 300 | # parameter of the Content-Type header. The gettext documentation | |
| 301 | - # strongly encourages msgids to be us-ascii, but some appliations | ||
| 301 | + # strongly encourages msgids to be us-ascii, but some applications | ||
| 302 | 302 | # require alternative encodings (e.g. Zope's ZCML and ZPT). For | |
| 303 | 303 | # traditional gettext applications, the msgid conversion will | |
| 304 | 304 | # cause no problems since us-ascii should always be a subset of | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -799,7 +799,7 @@ def _send_output(self, message_body=None): | |||
| 799 | 799 | del self._buffer[:] | |
| 800 | 800 | # If msg and message_body are sent in a single send() call, | |
| 801 | 801 | # it will avoid performance problems caused by the interaction | |
| 802 | - # between delayed ack and the Nagle algorithim. | ||
| 802 | + # between delayed ack and the Nagle algorithm. | ||
| 803 | 803 | if isinstance(message_body, bytes): | |
| 804 | 804 | msg += message_body | |
| 805 | 805 | message_body = None | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -105,8 +105,8 @@ def __init__(self, flist=None, filename=None, key=None, root=None): | |||
| 105 | 105 | self.top = top = WindowList.ListedToplevel(root, menu=self.menubar) | |
| 106 | 106 | if flist: | |
| 107 | 107 | self.tkinter_vars = flist.vars | |
| 108 | - #self.top.instance_dict makes flist.inversedict avalable to | ||
| 109 | - #configDialog.py so it can access all EditorWindow instaces | ||
| 108 | + #self.top.instance_dict makes flist.inversedict available to | ||
| 109 | + #configDialog.py so it can access all EditorWindow instances | ||
| 110 | 110 | self.top.instance_dict = flist.inversedict | |
| 111 | 111 | else: | |
| 112 | 112 | self.tkinter_vars = {} # keys: Tkinter event names | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,7 +13,7 @@ What's New in IDLEfork 0.8.1? | |||
| 13 | 13 | - New tarball released as a result of the 'revitalisation' of the IDLEfork | |
| 14 | 14 | project. | |
| 15 | 15 | ||
| 16 | - - This release requires python 2.1 or better. Compatability with earlier | ||
| 16 | + - This release requires python 2.1 or better. Compatibility with earlier | ||
| 17 | 17 | versions of python (especially ancient ones like 1.5x) is no longer a | |
| 18 | 18 | priority in IDLEfork development. | |
| 19 | 19 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -162,7 +162,7 @@ def _check_name(method): | |||
| 162 | 162 | loader can handle. | |
| 163 | 163 | ||
| 164 | 164 | The first argument (self) must define _name which the second argument is | |
| 165 | - comapred against. If the comparison fails then ImportError is raised. | ||
| 165 | + compared against. If the comparison fails then ImportError is raised. | ||
| 166 | 166 | ||
| 167 | 167 | """ | |
| 168 | 168 | def inner(self, name, *args, **kwargs): | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -103,7 +103,7 @@ def __init__(self, host, port=NNTP_PORT, user=None, password=None, | |||
| 103 | 103 | ||
| 104 | 104 | readermode is sometimes necessary if you are connecting to an | |
| 105 | 105 | NNTP server on the local machine and intend to call | |
| 106 | - reader-specific comamnds, such as `group'. If you get | ||
| 106 | + reader-specific commands, such as `group'. If you get | ||
| 107 | 107 | unexpected NNTPPermanentErrors, you might need to set | |
| 108 | 108 | readermode. | |
| 109 | 109 | """ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,7 +5,7 @@ | |||
| 5 | 5 | # file handles. | |
| 6 | 6 | ||
| 7 | 7 | # The point of this example is to show that sys.setrecursionlimit() is a | |
| 8 | - # hack, and not a robust solution. This example simply exercices a path | ||
| 8 | + # hack, and not a robust solution. This example simply exercises a path | ||
| 9 | 9 | # where it takes many C-level recursions, consuming a lot of stack | |
| 10 | 10 | # space, for each Python-level recursion. So 1000 times this amount of | |
| 11 | 11 | # stack space may be too much for standard platforms already. | |
| Back | FazBrowse Home | New Git URL |
0 commit comments