File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -162,11 +162,11 @@ def fmt_fun(query: Any) -> Any:
162162
163163 full_form = definitions .get_ownvalue (
164164 "Settings`$ShowFullFormInput"
165- ).replace . to_python ()
165+ ).to_python ()
166166 style = definitions .get_ownvalue ("Settings`$PygmentsStyle" )
167167 fmt = identity
168168 if style :
169- style = style .replace . get_string_value ()
169+ style = style .get_string_value ()
170170 if shell .terminal_formatter :
171171 fmt = fmt_fun
172172
Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ def bottom_toolbar(self):
167167 if self .definitions .get_ownvalue ("Settings`$GroupAutocomplete" ):
168168 app .group_autocomplete = self .definitions .get_ownvalue (
169169 "Settings`$GroupAutocomplete"
170- ).replace . to_python ()
170+ ).to_python ()
171171
172172 edit_mode = "Vi" if app .editing_mode == EditingMode .VI else "Emacs"
173173 return HTML (
@@ -224,10 +224,10 @@ def print_result(
224224 elif self .terminal_formatter : # pygmentize
225225 show_pygments_tokens = self .definitions .get_ownvalue (
226226 "Settings`$PygmentsShowTokens"
227- ).replace . to_python ()
227+ ).to_python ()
228228 pygments_style = self .definitions .get_ownvalue (
229229 "Settings`$PygmentsStyle"
230- ).replace . get_string_value ()
230+ ).get_string_value ()
231231 if pygments_style != self .pygments_style :
232232 if not self .change_pygments_style (pygments_style ):
233233 self .definitions .set_ownvalue (
You can’t perform that action at this time.
0 commit comments