| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -412,12 +412,12 @@ _curses_panel.panel.set_userptr | |||
| 412 | 412 | obj: object | |
| 413 | 413 | / | |
| 414 | 414 | ||
| 415 | - Set the panel’s user pointer to obj. | ||
| 415 | + Set the panel's user pointer to obj. | ||
| 416 | 416 | [clinic start generated code]*/ | |
| 417 | 417 | ||
| 418 | 418 | static PyObject * | |
| 419 | 419 | _curses_panel_panel_set_userptr(PyCursesPanelObject *self, PyObject *obj) | |
| 420 | - /*[clinic end generated code: output=6fb145b3af88cf4a input=2056be1cd148b05c]*/ | ||
| 420 | + /*[clinic end generated code: output=6fb145b3af88cf4a input=d2c6a9dbefabbf39]*/ | ||
| 421 | 421 | { | |
| 422 | 422 | PyObject *oldobj; | |
| 423 | 423 | int rc; | |
@@ -587,12 +587,12 @@ _curses_panel.update_panels | |||
| 587 | 587 | ||
| 588 | 588 | Updates the virtual screen after changes in the panel stack. | |
| 589 | 589 | ||
| 590 | - This does not call curses.doupdate(), so you’ll have to do this yourself. | ||
| 590 | + This does not call curses.doupdate(), so you'll have to do this yourself. | ||
| 591 | 591 | [clinic start generated code]*/ | |
| 592 | 592 | ||
| 593 | 593 | static PyObject * | |
| 594 | 594 | _curses_panel_update_panels_impl(PyObject *module) | |
| 595 | - /*[clinic end generated code: output=2f3b4c2e03d90ded input=a127069202b0a097]*/ | ||
| 595 | + /*[clinic end generated code: output=2f3b4c2e03d90ded input=5299624c9a708621]*/ | ||
| 596 | 596 | { | |
| 597 | 597 | PyCursesInitialised; | |
| 598 | 598 | update_panels(); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -592,12 +592,12 @@ _contextvars_Context_keys_impl(PyContext *self) | |||
| 592 | 592 | /*[clinic input] | |
| 593 | 593 | _contextvars.Context.values | |
| 594 | 594 | ||
| 595 | - Return a list of all variables’ values in the context object. | ||
| 595 | + Return a list of all variables' values in the context object. | ||
| 596 | 596 | [clinic start generated code]*/ | |
| 597 | 597 | ||
| 598 | 598 | static PyObject * | |
| 599 | 599 | _contextvars_Context_values_impl(PyContext *self) | |
| 600 | - /*[clinic end generated code: output=d286dabfc8db6dde input=6c3d08639ba3bf67]*/ | ||
| 600 | + /*[clinic end generated code: output=d286dabfc8db6dde input=ce8075d04a6ea526]*/ | ||
| 601 | 601 | { | |
| 602 | 602 | return _PyHamt_NewIterValues(self->ctx_vars); | |
| 603 | 603 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -615,6 +615,9 @@ def render(self, clinic, signatures): | |||
| 615 | 615 | return self.render_function(clinic, function) | |
| 616 | 616 | ||
| 617 | 617 | def docstring_for_c_string(self, f): | |
| 618 | + if re.search(r'[^\x00-\x7F]', f.docstring): | ||
| 619 | + warn("Non-ascii character appear in docstring.") | ||
| 620 | + | ||
| 618 | 621 | text, add, output = _text_accumulator() | |
| 619 | 622 | # turn docstring into a properly quoted C string | |
| 620 | 623 | for line in f.docstring.split('\n'): | |
| Back | FazBrowse Home | New Git URL |
0 commit comments