在不存在的行上解析错误时出现意外的EOF

时间:2019-06-22 18:13:03

标签: python-3.x

我不确定为什么继续收到此错误。有什么帮助吗?

        public async Task<AzureOperationResponse<ImportExportResponse>> ImportWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, ExportRequest parameters, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
        {
            // Send request
            AzureOperationResponse<ImportExportResponse> _response = await BeginImportWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, parameters, customHeaders, cancellationToken).ConfigureAwait(false);

            // Poll for completion
            return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false);
        }

然后,在第9行上显示“语法错误:解析时发生意外的EOF”,但甚至没有第9行。我不知道为什么这种情况持续发生。

1 个答案:

答案 0 :(得分:0)

您没有关闭括号: 尝试:

    print(magician.title() + ", you got an amazing score on you exam!")