t374.trans 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. Module(body=[Import(names=[alias(name='re',
  2. asname=None)]),
  3. FunctionDef(name='f',
  4. args=arguments(args=[Name(id='a',
  5. ctx=Param()),
  6. Name(id='b',
  7. ctx=Param()),
  8. Name(id='c',
  9. ctx=Param())],
  10. vararg=None,
  11. kwarg=None,
  12. defaults=[Num(n=3),
  13. Name(id='None',
  14. ctx=Load())]),
  15. body=[Print(dest=None,
  16. values=[Name(id='a',
  17. ctx=Load()),
  18. Name(id='b',
  19. ctx=Load()),
  20. Name(id='c',
  21. ctx=Load())],
  22. nl=True)],
  23. decorator_list=[]),
  24. Expr(value=Call(func=Name(id='f',
  25. ctx=Load()),
  26. args=[Num(n=1)],
  27. keywords=[keyword(arg='c',
  28. value=Num(n=4))],
  29. starargs=None,
  30. kwargs=None)),
  31. Print(dest=None,
  32. values=[Call(func=Attribute(value=Name(id='re',
  33. ctx=Load()),
  34. attr='split',
  35. ctx=Load()),
  36. args=[Str(s='a'),
  37. Str(s='A stitch in time saves nine.')],
  38. keywords=[keyword(arg='flags',
  39. value=Attribute(value=Name(id='re',
  40. ctx=Load()),
  41. attr='IGNORECASE',
  42. ctx=Load()))],
  43. starargs=None,
  44. kwargs=None)],
  45. nl=True),
  46. Print(dest=None,
  47. values=[Call(func=Attribute(value=Name(id='re',
  48. ctx=Load()),
  49. attr='findall',
  50. ctx=Load()),
  51. args=[],
  52. keywords=[keyword(arg='string',
  53. value=Str(s='A stitch in time saves nine.')),
  54. keyword(arg='flags',
  55. value=Attribute(value=Name(id='re',
  56. ctx=Load()),
  57. attr='IGNORECASE',
  58. ctx=Load())),
  59. keyword(arg='pattern',
  60. value=Str(s='a'))],
  61. starargs=None,
  62. kwargs=None)],
  63. nl=True)])