*j S r SSKrSSKrSSKJr SSKJr SSKJr SS jr " S S\5 r S r\S :X a \" \R SS 5 gg) zA simple SQLite CLI for the sqlite3 module. Apart from using 'argparse' for the command-line interface, this module implements the REPL as a thin wrapper around the InteractiveConsole class from the 'code' stdlib module. N)ArgumentParser)InteractiveConsole)dedentc U R U5 H n[ U5 M g! [ R a n[ U5 R n [ U SUR SU 3[ R S9 O-! [ a [ U SU 3[ R S9 Of = fU( d [ R " S5 SnAg SnAgSnAff = f)zHelper that wraps execution of SQL code. This is used both by the REPL and by direct execution from the CLI. 'c' may be a cursor or a connection. 'sql' is the SQL string to execute. z (z): )filez: N)executeprintsqlite3Errortype__name__sqlite_errornamesysstderrAttributeErrorexit)csqlsuppress_errorsrowetps 7/opt/alt/python313/lib64/python3.13/sqlite3/__main__.pyr r s 99S>C#J "== !W 1RD1--.c!5CJJG 1RD1#,SZZ0 1HHQKK s8 #&