mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 05:34:18 +08:00
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/57283 Test Plan: Imported from OSS Reviewed By: suo Differential Revision: D28095858 Pulled By: Lilyjjo fbshipit-source-id: c3cec074e6b2c48a09785fa0c02cd576b7ec94d9
13 lines
194 B
Python
13 lines
194 B
Python
__import__("math", fromlist=[])
|
|
__import__("xml.sax.xmlreader")
|
|
|
|
result = "subpackage_2"
|
|
|
|
|
|
class PackageBSubpackage2Object_0:
|
|
pass
|
|
|
|
|
|
def dynamic_import_test(name: str):
|
|
__import__(name)
|