问题描述
例如:
<!DOCTYPE html>
<html lang="en">
<head>
<Meta charset="UTF-8">
<title> Why Linux is just better than Windows - Ring Tips </title>
<link rel="icon" href="linux.png">
</head>
<body>
<style>
body {
margin-top:0;
background: #484d49;
padding: 0;
-webkit-font-smoothing: antialised;
}
.topnav {
top: 0;
position: sticky;
background: #a5b0a8;
border: 0.5px solid black;
width: 100%;
height: 100px;
overflow: hidden;
z-index: 2;
}
</style>
<div class="topnav"></div>
</body>
</html>
我知道我们可以查看堆栈并获取父框架的整个源,但是有一种方法可以获取特定行(整个方法调用签名)。同样,方法调用也可能很复杂,也需要多行 例如:
def foo():
bar('hello' == 'hi')
def bar(condition):
# condition = False
# how can I get the full call line here
# in this example: bar('hello' == 'hi')
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)