Package not found: openSUSE:Slowroll:Build:2/python-py-radix

File 0226-Update-shell.erl.patch of Package erlang

From 83b8f12b26d8875fc84619c139cf9d1a8aa9d873 Mon Sep 17 00:00:00 2001
From: Fredrik Frantzen <fredrik.frantzen@ericsson.com>
Date: Thu, 4 Jul 2024 13:55:11 +0200
Subject: [PATCH 2/2] Update shell.erl

---
 lib/stdlib/src/shell.erl | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/stdlib/src/shell.erl b/lib/stdlib/src/shell.erl
index a423cefaf7..2f859138cd 100644
--- a/lib/stdlib/src/shell.erl
+++ b/lib/stdlib/src/shell.erl
@@ -1370,7 +1370,6 @@ local_func(tf, [{atom,_,A}], Bs, _Shell, _RT, FT, _Lf, _Ef) ->
 local_func(tf, [_], _Bs, _Shell, _RT, _FT, _Lf, _Ef) ->
     erlang:raise(error, function_clause, [{shell,tf,1}]);
 local_func(rd, [{string, _, TypeDef}], Bs, _Shell, RT, FT, _Lf, _Ef) ->
-    %% currently not documented in help()
     case erl_scan:tokens([], TypeDef, {1,1}, [text,{reserved_word_fun,fun erl_scan:reserved_word/1}]) of
         {done, {ok, Toks, _}, _} ->
             case erl_parse:parse_form(Toks) of
-- 
2.35.3

openSUSE Build Service is sponsored by